Click or drag to resize

mxICanvas2D Methods

imbSCI | imbACE | imbNLP | imbWEM | imbWBI

The mxICanvas2D type exposes the following members.

Methods
  NameDescription
Public methodBegin
Begins a new path.
Public methodClose
Closes the current path.
Public methodCurveTo
Draws a bezier curve to the given point.
Public methodEllipse
Next fill or stroke should draw an ellipse.
Public methodFill
Fills the current path.
Public methodFillAndStroke
Fills and paints the outline of the current path.
Public methodImage
Draws the given image.
Public methodLineTo
Draws a line to the given path.
Public methodMoveTo
Moves to the given path.
Public methodQuadTo
Draws a quadratic curve to the given point.
Public methodRect
Next fill or stroke should draw a rectangle.
Public methodRestore
Restores the previous state of the canvas.
Public methodRotate
Rotates the canvas by the given angle around the given center. This method may add rendering overhead and should be used with care.
Public methodRoundrect
Next fill or stroke should draw a round rectangle.
Public methodSave
Saves the current state of the canvas.
Public methodScale
Uniformaly scales the canvas by the given amount.
Public methodSetGradient
Prepares the canvas to draw a gradient.
Public methodSetShadowOffset
Prepares the canvas to draw a gradient.
Public methodStroke
Paints the outline of the current path.
Public methodText
Public methodTranslate
Translates the canvas by the given amount.
Top
See Also