API Docs for: 3.8.0
Show:

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.

Item Index

Methods

Properties

Attributes

Methods

_draw

() private

Draws the shape.

createNode

() private

Creates the dom node for the shape.

Returns:

HTMLElement

end

()

Completes a drawing operation.

Properties

_type

String private

Indicates the type of shape

Attributes

height

Number

Indicates the height of the shape

path

String readonly

Indicates the path used for the node.

width

Number

Indicates the width of the shape