Package arcmap :: Module editortools :: Class ShapeTool
[hide private]
[frames] | no frames]

Class ShapeTool

source code

mapcontroller.MapListener --+    
                            |    
                   EditorTool --+
                                |
                               ShapeTool
Known Subclasses:

Base class for tools that draw physics shapes

Instance Methods [hide private]
 
__init__(self, controller) source code
 
draw(self, context) source code

Inherited from EditorTool: getID, getInstructions, getPointer, keyPress, mouseButtonPress, mouseButtonRelease, mouseEnter, mouseLeave, mouseMotion, setInstructions, undo, x, y

Inherited from mapcontroller.MapListener: getController, listenAddLayer, listenAddShape, listenAddTile, listenAddTileSet, listenFileClosed, listenFileOpened, listenModified, listenRemoveLayer, listenRemoveShape, listenRemoveTile, listenResize, listenSelectLayer, listenSetSelection, listenSetVisibilty, listenSwapLayers, listenUndoRedo

Method Details [hide private]

__init__(self, controller)
(Constructor)

source code 
Parameters:
  • controller - The controller that this will listen to
Overrides: mapcontroller.MapListener.__init__
(inherited documentation)

draw(self, context)

source code 
Overrides: EditorTool.draw