| Package | graphics |
| Class | public class FillShaderStyle |
| Inheritance | FillShaderStyle Object |
| Implements | IFillStyle |
| Since : | Flash Player 10. AIR 1.5 |
| Property | Defined 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 | ||
| Method | Defined 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 | ||
| matrix | property |
public var matrix:MatrixAn 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.
| shader | property |
public var shader:ShaderThe shader to use for the line stroke.
| FillShaderStyle | () | Constructor |
public function FillShaderStyle(shader:Shader = null, matrix:Matrix = null)Creates a new FillShaderStyle instance.
Parametersshader: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.
|
| apply | () | method |
public function apply(graphic:Graphics):voidInitialize 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:*):BooleanCompares the specified object with this object for equality.
Parameters
o:* |
Boolean — true if the the specified object is equal with this object.
|
| toSource | () | method |
public function toSource(indent:int = 0):StringReturns the source code string representation of the object.
Parameters
indent:int (default = 0) |
String — the source code string representation of the object.
|