Abstract
Protected
constructorHolds the operator for closing curves. Default is 'Z'.
Holds the
Contains the string used for bezier curves. Default is 'C'.
Holds the last x coordinate.
Holds the last y coordinate.
Contains the string used for moving in paths. Default is 'L'.
Contains the string used for moving in paths. Default is 'M'.
Holds the current path as an array.
Boolean value that specifies if events should be handled. Default is false.
Contains the string used for quadratic paths. Default is 'Q'.
Switch for rotation of HTML. Default is false.
Holds the current state.
Stack of states.
Creates the state of the this canvas.
Create a new
Abstract
ellipseAbstract
endAbstract
fillAbstract
fillAbstract
imageAbstract
rectAbstract
roundrectSets the current gradient.
Abstract
strokeAbstract
textAbstract
update
Base class for all canvases.
The following methods make up the public interface of the canvas 2D for all painting in mxGraph:
arcTo is an additional method for drawing paths. This is a synthetic method, meaning that it is turned into a sequence of curves by default. Subclasses may add native support for arcs.
All color values of NONE will be converted to null in the state.