Abstract
Holds 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. A description of the public API is available in.
All color values of Constants#NONE will be converted to null in the state.
Constructor: D
Constructs a new abstract canvas.