mxICanvas2D Interface |
Namespace: imbSCI.Graph.MXGraph.canvas
The mxICanvas2D type exposes the following members.
| Name | Description | |
|---|---|---|
| Alpha |
Default value 1. This method may add rendering overhead and should be
used with care.
| |
| Dashed |
Sets the dashed state. This should default to false if unset.
| |
| DashPattern |
Sets the dash pattern. This should default to "3 3" if unset.
| |
| FillAlpha |
Default value 1.
| |
| FillColor |
Default value {@link mxConstants#NONE}.
| |
| FixDash |
Sets the dashed state. This should default to false if unset.
| |
| FontBackgroundColor |
Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}.
| |
| FontBorderColor |
Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}.
| |
| FontColor |
Default value "#000000".
| |
| FontFamily |
Default value {@link mxConstants#DEFAULT_FONTFAMILY}.
| |
| FontSize |
Default value mxConstants.DEFAULT_FONTSIZE.
| |
| FontStyle |
Default value 0. See {@link mxConstants#STYLE_FONTSTYLE}.
| |
| LineCap |
Sets the linecap. This should default to "flat" if unset.
| |
| LineJoin |
Sets the linejoin. This should default to "miter" if unset.
| |
| MiterLimit |
Sets the miterlimit. This should default to 10 if unset.
| |
| Shadow |
Default value {@link mxConstants#NONE}.
| |
| ShadowAlpha |
Default value 1. This method may add rendering overhead and should be
used with care.
| |
| ShadowColor |
Default value {@link mxConstants#NONE}.
| |
| StrokeAlpha |
Default value 1.
| |
| StrokeColor |
Sets the stroke color. This should default to mxConstants.NONE if unset.
| |
| StrokeWidth |
Sets the stroke width. This should default to 1 if unset.
|
| 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.
|