Class createjs.Graphics.DrawPath
Defined in: graphics.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.Graphics.DrawPath(fill, stroke)
An inner class used by the createjs.Graphics class to fill a drawing path
with the currently-selected color (or gradient) and to stroke a drawing path
with the currently-selected color (or gradient).
|
Method Attributes | Method Name and Description |
---|---|
<static> |
createjs.Graphics.DrawPath.get(fill, stroke)
Creates a createjs.Graphics.DrawPath object.
|
getText()
|
|
paint(renderer)
|
Class Detail
createjs.Graphics.DrawPath(fill, stroke)
An inner class used by the createjs.Graphics class to fill a drawing path
with the currently-selected color (or gradient) and to stroke a drawing path
with the currently-selected color (or gradient). This command assumes the
path has pushed a fill command when the fill property is true, and the path
has pushed a stroke command when the stroke property is true, respectively.
- Parameters:
- {boolean} fill
- {boolean} stroke
Method Detail
<static>
{createjs.Graphics.DrawPath}
createjs.Graphics.DrawPath.get(fill, stroke)
Creates a createjs.Graphics.DrawPath object.
- Parameters:
- {boolean} fill
- {boolean} stroke
- Returns:
- {createjs.Graphics.DrawPath}
getText()
paint(renderer)
- Parameters:
- renderer