ART.Shapes
ART.Shapes defines common used Shapes that extend ART.Shape.
ART.Rectangle
Creates an rectangular shape.
Extends:
ART.Rectangle method: constructor
Syntax:
var myRectangle = new ART.Rectangle(width, height[, radius]);
Arguments:
- width - (number) The width of the rectangle in pixels
- height - (number) The height of the rectangle in pixels
- radius - (number, optional) A border radius
ART.Pill
Creates a pill shape where the smaller side is entirely rounded.
Extends:
ART.Pill method: constructor
Syntax:
var myRectangle = new ART.Pill(width, height);
Arguments:
- width - (number) The width of the rectangle in pixels
- height - (number) The height of the rectangle in pixels
ART.Ellipse
ART.Wedge