def _get_pathmode(self):
if self._pathmode is not None:<EOL><INDENT>return self._pathmode<EOL><DEDENT>else:<EOL><INDENT>return self._canvas.pathmode<EOL><DEDENT>
Return pathmode or get it from self._canvas