| Method | Defined 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 | ||
| drawHorizontal | () | method |
public static function drawHorizontal($target:Sprite, startX:Number, endX:Number, endY:Number, thickness:Number, $color:uint = 0xffffff):voidDraws 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
|