CanvasPath Class
+ + + + +
+
+
+
+
+Canvas implementation of the Path class.
+CanvasPath is not intended to be used directly. Instead, use the Path class.
+If the browser lacks SVG capabilities but has
+Canvas capabilities, the Path
+class will point to the CanvasPath class.
+
+
+ -
+
- Index + + +
- Methods + + +
- Properties + + +
- Attributes + + +
+
+
+
+
+
+ Item Index
+ + +
+
+
+
+
+ Methods
+ +-
+
+
- + _draw + + + + + +
- + createNode + + + + + +
- + end + + + + + +
+
+
+
+
+
+
+
+
+ Properties
+ +-
+
+
- + _type + + + + + +
+
+
+
+
+ Methods
+ + +
+
+
+
+ ()
+
+
+
+
+
+
+
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ _draw
+
+
+ ()
+
+
+
+
+
+
+
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Draws the shape.
+
+
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ createNode
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+ private
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Creates the dom node for the shape.
+
+
+
+
+
+Returns:
+ +
+
+
+ HTMLElement
+
+
+
+
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ end
+
+
+ ()
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Completes a drawing operation.
+
+
+
+
+
+ Properties
+ + + + + +
+
+
+
+
+ Attributes
+ + +
+
+
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ height
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Indicates the height of the shape
+
+
+
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+ path
+ String
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ readonly
+
+
+
+
+
+
+
+
+
+
+
+
+Indicates the path used for the node.
+
+
+
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ width
+ Number
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Indicates the width of the shape
+