MindFusion.Diagramming for JavaScript Programmer's Guide
Canvas Methods
 


 Public Methods

  Name Description

clientToDoc

Transforms a point from client to document coordinates.

docToClient

Transforms a point from document to client coordinates.

getBounds

Gets the underlying Canvas element's bounds.

getMeasureUnit

Gets the unit of measure used for logical coordinates.

getZoomFactor

Gets the zoom factor.

setBounds

Sets the underlying Canvas element's bounds.

setMeasureUnit

Sets the unit of measure used for logical coordinates.

setZoomFactor

Sets the zoom factor.

 See Also

Canvas Class
MindFusion.Drawing Namespace