Class CMScene extends CMItem
CMScene
Object Functions
Inherited From: CMItem
Returns | Function | Throws |
---|---|---|
SetToolHandler(NewToolHandler) | ||
GetToolHandler() | ||
NewTool | GetTool() | |
Resize(TheView) | ||
Repaint(TheView) | ||
GetBounds() |
Object Functions
SetToolHandler(NewToolHandler)
Add a tool handler to the view
Parameters:
NewToolHandler -
GetToolHandler()
Get the current tool handler, if any
NewTool=GetTool()
Returns the current tool
Returns: NewTool - from the enums: CMToolHandler.TOOL_HAND,...
Resize(TheView)
Called when the window is resized
Parameters:
TheView - the view that recieved the event
Repaint(TheView)
Called by the layers to repaint the scene
Parameters:
TheView - the view that recieved the event
GetBounds()
Gets the bounds of all the geo bounds combined.