Packagesandy.materials.attributes
Classpublic class DashedLineAttributes
InheritanceDashedLineAttributes Inheritance LineAttributes Inheritance AAttributes

Holds all dashed line attributes data for a material.



Public Properties
 PropertyDefined by
 Inheritedalpha : Number
Indicates the alpha transparency value of the line.
LineAttributes
 Inheritedcolor : Number
The line color.
LineAttributes
 Inheritedflags : uint
Returns the specific flags of this attribute.
AAttributes
 Inheritedmodified : Boolean
Whether the attribute has been modified since it's last render.
LineAttributes
 Inheritedthickness : Number
The line thickness.
LineAttributes
Public Methods
 MethodDefined by
  
DashedLineAttributes(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1, p_length:Number = 10, p_gap:Number = 10)
Creates a new DashedLineAttributes object.
DashedLineAttributes
 Inherited
begin(p_oScene:Scene3D):void
Method called before the display list rendering.
AAttributes
 Inherited
draw(p_oGraphics:Graphics, p_oPolygon:Polygon, p_oMaterial:Material, p_oScene:Scene3D):void
Draws attribute to the graphics object.
AAttributes
 Inherited
drawOnSprite(p_oSprite:Sprite2D, p_oMaterial:Material, p_oScene:Scene3D):void
Applies attribute to a sprite.
AAttributes
 Inherited
finish(p_oScene:Scene3D):void
Method called right after the display list rendering.
AAttributes
 Inherited
init(p_oPolygon:Polygon):void
Allows to proceed to an initialization to know when the polyon isn't lined to the material.
AAttributes
 Inherited
unlink(p_oPolygon:Polygon):void
Remove all the initialization (opposite of init).
AAttributes
Constructor detail
DashedLineAttributes()constructor
public function DashedLineAttributes(p_nThickness:uint = 1, p_nColor:uint = 0, p_nAlpha:Number = 1, p_length:Number = 10, p_gap:Number = 10)

Creates a new DashedLineAttributes object.

Parameters
p_nThickness:uint (default = 1) — The line thickness.
 
p_nColor:uint (default = 0) — The line color.
 
p_nAlpha:Number (default = 1) — The alpha value in percent of full opacity ( 0 - 1 )
 
p_length:Number (default = 10) — The length of the line
 
p_gap:Number (default = 10) — The length of the gaps