| Package | graphics |
| Class | public class LineShaderStyle |
| Inheritance | LineShaderStyle Object |
| Implements | ILineStyle |
| Since : | Flash Player 10. AIR 1.5 |
| Property | Defined By | ||
|---|---|---|---|
| matrix : Matrix
An optional transformation matrix as defined by the flash.geom.Matrix class. | LineShaderStyle | ||
| shader : Shader
The shader to use for the line stroke. | LineShaderStyle | ||
| Method | Defined By | ||
|---|---|---|---|
LineShaderStyle(shader:Shader = null, matrix:Matrix = null)
Creates a new LineShaderStyle instance. | LineShaderStyle | ||
apply(graphic:Graphics):void
Initialize the line settings of the specified Graphics reference. | LineShaderStyle | ||
clone():*
Creates and returns a shallow copy of the object. | LineShaderStyle | ||
equals(o:*):Boolean
Compares the specified object with this object for equality. | LineShaderStyle | ||
toSource(indent:int = 0):String
Returns the source code string representation of the object. | LineShaderStyle | ||
| 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.
| LineShaderStyle | () | Constructor |
public function LineShaderStyle(shader:Shader = null, matrix:Matrix = null)Creates a new LineShaderStyle instance.
Parametersshader:Shader (default = null) — The shader to use for the line stroke.
| |
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 line style.
|
| apply | () | method |
public function apply(graphic:Graphics):voidInitialize the line settings 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.
|