CanvasPath Class
yui3/src/graphics/js/CanvasPath.js:1
<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.
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