Packagegeom
Classpublic class DottedLine

DottedLine class is used to draw dotted lines



Public Methods
 MethodDefined by
  
drawHorizontal($target:Sprite, startX:Number, endX:Number, endY:Number, thickness:Number, $color:uint = 0xffffff):void
[static] Draws a horizontal dotted line in a specified Sprite
DottedLine
Method detail
drawHorizontal()method
public static function drawHorizontal($target:Sprite, startX:Number, endX:Number, endY:Number, thickness:Number, $color:uint = 0xffffff):void

Draws a horizontal dotted line in a specified Sprite

Parameters
$target:Sprite — The sprite to draw line inside
 
startX:Number — The start position on x axis to draw
 
endX:Number — The end position on x axis to draw
 
endY:Number — The y position of the line
 
thickness:Number — Line thickness
 
$color:uint (default = 0xffffff) — Line color