Class createjs.Graphics.Rect
Defined in: graphics.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.Graphics.Rect(x, y, width, height)
An inner class used by the createjs.Graphics class to draw a rectangle.
|
Field Attributes | Field Name and Description |
---|---|
Method Attributes | Method Name and Description |
---|---|
<static> |
createjs.Graphics.Rect.get(x, y, width, height)
Creates a createjs.Graphics.Rect object.
|
paint(renderer)
|
Class Detail
createjs.Graphics.Rect(x, y, width, height)
An inner class used by the createjs.Graphics class to draw a rectangle.
- Parameters:
- {number} x
- {number} y
- {number} width
- {number} height
Field Detail
getText
Method Detail
<static>
{createjs.Graphics.Rect}
createjs.Graphics.Rect.get(x, y, width, height)
Creates a createjs.Graphics.Rect object.
- Parameters:
- {number} x
- {number} y
- {number} width
- {number} height
- Returns:
- {createjs.Graphics.Rect}
paint(renderer)
- Parameters:
- renderer