Show:

<a href="http://www.w3.org/TR/html5/the-canvas-element.html">Canvas</a> implementation of the <a href="Path.html">Path</a> class. CanvasPath is not intended to be used directly. Instead, use the <a href="Path.html">Path</a> class. If the browser lacks <a href="http://www.w3.org/TR/SVG/">SVG</a> capabilities but has <a href="http://www.w3.org/TR/html5/the-canvas-element.html">Canvas</a> capabilities, the <a href="Path.html">Path</a> class will point to the CanvasPath class.

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