Class Index | File Index

Classes


Class createjs.Graphics.LinearGradient


Defined in: graphics.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
createjs.Graphics.LinearGradient(colors, stops, x0, y0, x1, y1)
An inner class that represents a linear gradient used by the createjs.Graphics.FillLinear class and the createjs.Graphics.StrokeLinear class.
Method Summary
Method Attributes Method Name and Description
<static>  
createjs.Graphics.LinearGradient.get(colors, stops, x0, y0, x1, y1)
Creates a createjs.Graphics.LinaerGradient object.
 
getGradient(renderer)
Returns the CanvasGradient object attached to this object.
 
Returns the string representation of this object.
Class Detail
createjs.Graphics.LinearGradient(colors, stops, x0, y0, x1, y1)
An inner class that represents a linear gradient used by the createjs.Graphics.FillLinear class and the createjs.Graphics.StrokeLinear class.
Parameters:
{Array.} colors
{Array.} stops
{number} x0
{number} y0
{number} x1
{number} y1
Method Detail
<static> {createjs.Graphics.LinearGradient} createjs.Graphics.LinearGradient.get(colors, stops, x0, y0, x1, y1)
Creates a createjs.Graphics.LinaerGradient object.
Parameters:
{Array.} colors
{Array.} stops
{number} x0
{number} y0
{number} x1
{number} y1
Returns:
{createjs.Graphics.LinearGradient}

{CanvasGradient} getGradient(renderer)
Returns the CanvasGradient object attached to this object.
Parameters:
{createjs.Graphics.CanvasRenderer} renderer
Returns:
{CanvasGradient}

{string} getText()
Returns the string representation of this object.
Returns:
{string}

Documentation generated by JsDoc Toolkit 2.4.0 on Tue Oct 04 2016 17:11:28 GMT+0900 (JST)