You can access the canvas area using the following statement: canvas = getAFXApp().getAFXMainWindow().i_getCanvas()The “i_” in the method name indicates that this is an internal method that you should not normally use—it is expected that only the GUI infrastructure needs to access this method. |