Class Index | File Index

Classes


Class createjs.Graphics.RadialGradient


Defined in: graphics.js.

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

{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)