| Method | Defined by | ||
|---|---|---|---|
|
drawDashedLine(g:Graphics, startPoint:Point, endPoint:Point, lineColor:uint = 0x000000, thickness:uint = 1, alpha:uint = 1):void
[static]
A static method to draw dashed line on a specific graphics object.
| DashedLine | ||
|
drawDashedRect(g:Graphics, x:Number, y:Number, width:Number, height:Number, lineColor:uint = 0x000000, thickness:uint = 1, alpha:uint = 1):void
[static]
A static method to draw a rectanle with dashed lines on a specific graphics object.
| DashedLine | ||
| drawDashedLine | () | method |
public static function drawDashedLine(g:Graphics, startPoint:Point, endPoint:Point, lineColor:uint = 0x000000, thickness:uint = 1, alpha:uint = 1):voidA static method to draw dashed line on a specific graphics object.
Parametersg:Graphics — Graphics object used to draw dashed line.
|
|
startPoint:Point — Start point of the drawing.
|
|
endPoint:Point — End point of the drawing.
|
|
lineColor:uint (default = 0x000000) — Line color.
|
|
thickness:uint (default = 1) — Line thickness.
|
|
alpha:uint (default = 1) — Line's opacity.
|
| drawDashedRect | () | method |
public static function drawDashedRect(g:Graphics, x:Number, y:Number, width:Number, height:Number, lineColor:uint = 0x000000, thickness:uint = 1, alpha:uint = 1):voidA static method to draw a rectanle with dashed lines on a specific graphics object.
Parametersg:Graphics — Graphics object used to draw dashed line.
|
|
x:Number — Starting y position of the rectangle to draw.
|
|
y:Number — Width of the rectangle.
|
|
width:Number — Height of the rectangle.
|
|
height:Number — Line's color.
|
|
lineColor:uint (default = 0x000000) — Line's thickness.
|
|
thickness:uint (default = 1) — Line's opacity.
|
|
alpha:uint (default = 1) |