This documentation is for the old version. Go to the latest Graphics Mill docs

Canvas Methods

The Canvas type exposes the following members.

Methods

Name Description
Public method alignVObject

Aligns the specified v-object.

Public method controlToWorkspace

Translates coordinates from the control-related coordinate system to the workspace-related one.

Public method deleteCurrentVObject

Delete the currently selected v-object and shows a confirmation dialog if needed.

Public method dispose

Removes the current Canvas from the application.

Public method initialize

Initializes the current Canvas object.

Public method invokeRemoteMethod

Runs the specified remote method on the server.

Public method raiseKeyDown

Raises the key down event.

Public method raiseKeyUp

Raises the key up event.

Public method raiseMouseDown

Raises the mouse down event.

Public method raiseMouseMove

Raises the mouse move event.

Public method raiseMouseUp

Raises the mouse up event.

Public method redraw

Redraws the canvas.

Public method workspaceToControl

Translates coordinates from the workspace-related coordinate system to the control-related one.

See Also

Reference