Package | com.yahoo.astra.utils |
Class | public class GraphicsUtil |
Graphics
objects.
See also
Method | Defined by | ||
---|---|---|---|
drawDashedLine(target:Graphics, xStart:Number, yStart:Number, xEnd:Number, yEnd:Number, dashSize:Number = 10, gapSize:Number = 10):void
[static]
Draws a dashed line between two points.
| GraphicsUtil |
drawDashedLine | () | method |
public static function drawDashedLine(target:Graphics, xStart:Number, yStart:Number, xEnd:Number, yEnd:Number, dashSize:Number = 10, gapSize:Number = 10):void
Draws a dashed line between two points.
Parameterstarget:Graphics — The x position of the start of the line
|
|
xStart:Number — The y position of the start of the line
|
|
yStart:Number — The x position of the end of the line
|
|
xEnd:Number — The y position of the end of the line
|
|
yEnd:Number — the size of dashes, in pixels
|
|
dashSize:Number (default = 10 ) — the size of gaps between dashes, in pixels
|
|
gapSize:Number (default = 10 )
|