Show:

<a href="http://www.w3.org/TR/html5/the-canvas-element.html">Canvas</a> implementation of the <a href="Rect.html">Rect</a> class. CanvasRect is not intended to be used directly. Instead, use the <a href="Rect.html">Rect</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="Rect.html">Rect</a> class will point to the CanvasRect class.

Index

Methods

Properties

Methods

_draw

() private

Draws the shape.

Properties

_type

String private

Indicates the type of shape