Packagegraphics
Classpublic class FillShaderStyle
InheritanceFillShaderStyle Inheritance Object
Implements IFillStyle

Since : Flash Player 10. AIR 1.5

Defines the fill style of the vector shapes. See the Graphics.beginShaderStyle method.



Public Properties
 PropertyDefined By
  matrix : Matrix
An optional transformation matrix as defined by the flash.geom.Matrix class.
FillShaderStyle
  shader : Shader
The shader to use for the line stroke.
FillShaderStyle
Public Methods
 MethodDefined By
  
FillShaderStyle(shader:Shader = null, matrix:Matrix = null)
Creates a new FillShaderStyle instance.
FillShaderStyle
  
apply(graphic:Graphics):void
Initialize and launch the beginFill method of the specified Graphics reference.
FillShaderStyle
  
clone():*
Creates and returns a shallow copy of the object.
FillShaderStyle
  
equals(o:*):Boolean
Compares the specified object with this object for equality.
FillShaderStyle
  
toSource(indent:int = 0):String
Returns the source code string representation of the object.
FillShaderStyle
Property Detail
matrixproperty
public var matrix:Matrix

An optional transformation matrix as defined by the flash.geom.Matrix class. The matrix can be used to scale or otherwise manipulate the bitmap before applying it to the line style.

shaderproperty 
public var shader:Shader

The shader to use for the line stroke.

Constructor Detail
FillShaderStyle()Constructor
public function FillShaderStyle(shader:Shader = null, matrix:Matrix = null)

Creates a new FillShaderStyle instance.

Parameters
shader:Shader (default = null) — The shader to use for the fill.
 
matrix:Matrix (default = null) — An optional transformation matrix as defined by the flash.geom.Matrix class. The matrix can be used to scale or otherwise manipulate the bitmap before applying it to the fill style.
Method Detail
apply()method
public function apply(graphic:Graphics):void

Initialize and launch the beginFill method of the specified Graphics reference.

Parameters

graphic:Graphics

clone()method 
public function clone():*

Creates and returns a shallow copy of the object.

Returns
* — A new object that is a shallow copy of this instance.
equals()method 
public function equals(o:*):Boolean

Compares the specified object with this object for equality.

Parameters

o:*

Returns
Booleantrue if the the specified object is equal with this object.
toSource()method 
public function toSource(indent:int = 0):String

Returns the source code string representation of the object.

Parameters

indent:int (default = 0)

Returns
String — the source code string representation of the object.