Class createjs.Graphics.FillLinear
Defined in: graphics.js.
Constructor Attributes | Constructor Name and Description |
---|---|
createjs.Graphics.FillLinear(colors, stops, x0, y0, x1, y1)
An inner class used by the createjs.Graphics class to create a linear
gradient.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
createjs.Graphics.FillLinear.get(colors, stops, x0, y0, x1, y1)
Creates a createjs.Graphics.FillLinaer object.
|
getText()
|
|
paint(renderer)
|
Class Detail
createjs.Graphics.FillLinear(colors, stops, x0, y0, x1, y1)
An inner class used by the createjs.Graphics class to create a linear
gradient.
- Parameters:
-
{Array.
} colors -
{Array.
} stops - {number} x0
- {number} y0
- {number} x1
- {number} y1
Method Detail
<static>
{createjs.Graphics.FillLinear}
createjs.Graphics.FillLinear.get(colors, stops, x0, y0, x1, y1)
Creates a createjs.Graphics.FillLinaer object.
- Parameters:
-
{Array.
} colors -
{Array.
} stops - {number} x0
- {number} y0
- {number} x1
- {number} y1
- Returns:
- {createjs.Graphics.FillLinear}
getText()
paint(renderer)
- Parameters:
- renderer