W3cubDocs

/Haxe Flash

GraphicsGradientFill

package flash.display

implements IGraphicsFill, IGraphicsData

@:final Available on flash

Constructor

@:value({ focalPointRatio : 0 }) new (?type:GradientType, ?colors:Array<UInt>, ?alphas:Array<Float>, ?ratios:Array<Float>, ?matrix:Matrix, ?spreadMethod:SpreadMethod, ?interpolationMethod:InterpolationMethod, focalPointRatio:Float = 0)

Variables

alphas:Array<Float>

colors:Array<UInt>

focalPointRatio:Float

interpolationMethod:InterpolationMethod

matrix:Matrix

ratios:Array<Float>

spreadMethod:SpreadMethod

type:GradientType

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/display/GraphicsGradientFill.html