mxICanvas2D Methods |
The mxICanvas2D type exposes the following members.
| Name | Description | |
|---|---|---|
| Begin |
Begins a new path.
| |
| Close |
Closes the current path.
| |
| CurveTo |
Draws a bezier curve to the given point.
| |
| Ellipse |
Next fill or stroke should draw an ellipse.
| |
| Fill |
Fills the current path.
| |
| FillAndStroke |
Fills and paints the outline of the current path.
| |
| Image |
Draws the given image.
| |
| LineTo |
Draws a line to the given path.
| |
| MoveTo |
Moves to the given path.
| |
| QuadTo |
Draws a quadratic curve to the given point.
| |
| Rect |
Next fill or stroke should draw a rectangle.
| |
| Restore |
Restores the previous state of the canvas.
| |
| Rotate |
Rotates the canvas by the given angle around the given center. This
method may add rendering overhead and should be used with care.
| |
| Roundrect |
Next fill or stroke should draw a round rectangle.
| |
| Save |
Saves the current state of the canvas.
| |
| Scale |
Uniformaly scales the canvas by the given amount.
| |
| SetGradient |
Prepares the canvas to draw a gradient.
| |
| SetShadowOffset |
Prepares the canvas to draw a gradient.
| |
| Stroke |
Paints the outline of the current path.
| |
| Text | ||
| Translate |
Translates the canvas by the given amount.
|