Packagefrocessing.shape
Classpublic class FShapeGradient
InheritanceFShapeGradient Inheritance FNormalGradient Inheritance FGradient Inheritance Object

SVG Gradient Object.



Public Properties
 PropertyDefined By
 Inheritedalphas : Array
FGradient
 Inheritedcolors : Array
FGradient
 InheritedfocalPointRatio : Number
FGradient
 InheritedinterpolationMethod : String
FGradient
 InheritedisNormal : Boolean
true の場合、実際適用されるMatrixは、(left,top,width,height)にマッピングされます.
FNormalGradient
 InheritedmappedMatrix : Matrix
[read-only]
FNormalGradient
 Inheritedmatrix : Matrix
FGradient
  name : String
FShapeGradient
 Inheritedratios : Array
FGradient
 InheritedspreadMethod : String
FGradient
 Inheritedtype : String
FGradient
Public Methods
 MethodDefined By
  
FShapeGradient(normal:Boolean, type:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null, spreadMethod:String = pad, interpolationMethod:String = rgb, focalPointRatio:Number = 0.0)
FShapeGradient
 Inherited
setRect(left:Number, top:Number, width:Number, height:Number):void
FNormalGradient
Property Detail
nameproperty
public var name:String

Constructor Detail
FShapeGradient()Constructor
public function FShapeGradient(normal:Boolean, type:String, colors:Array, alphas:Array, ratios:Array, matrix:Matrix = null, spreadMethod:String = pad, interpolationMethod:String = rgb, focalPointRatio:Number = 0.0)

Parameters
normal:Boolean
 
type:String
 
colors:Array
 
alphas:Array
 
ratios:Array
 
matrix:Matrix (default = null)
 
spreadMethod:String (default = pad)
 
interpolationMethod:String (default = rgb)
 
focalPointRatio:Number (default = 0.0)