| Package | graphics.drawing |
| Class | public dynamic class BezierPen |
| Inheritance | BezierPen Pen flash.utils.Proxy |
| Property | Defined By | ||
|---|---|---|---|
![]() | align : uint
Determinates the align value of the pen. | Pen | |
![]() | fill : IFillStyle
Determinates the fill style object of the pen. | Pen | |
![]() | graphics : *
Specifies the Graphics object belonging to this Shape object, where vector drawing commands can occur. | Pen | |
![]() | line : ILineStyle
Determinates the line style object of the pen. | Pen | |
| tolerance : uint = 5
The tolerance of the drawing shape process. | BezierPen | ||
![]() | useClear : Boolean = true
Indicates if the clear() method is invoked at the end of the draw method. | Pen | |
![]() | useEndFill : Boolean = true
Indicates if the endFill() method is invoked at the end of the draw method. | Pen | |
| v1 : Vector2
The first vector element who defines the bezier shape. | BezierPen | ||
| v2 : Vector2
The second vector element who defines the bezier shape. | BezierPen | ||
| v3 : Vector2
The third vector element who defines the bezier shape. | BezierPen | ||
| v4 : Vector2
The fourth vector element who defines the bezier shape. | BezierPen | ||
| Method | Defined By | ||
|---|---|---|---|
BezierPen(graphic:*)
Creates a new BezierPen instance. | BezierPen | ||
![]() | BF(... arguments):void
Defines a shortcut reference to used the beginBitmapFill method. | Pen | |
![]() | C(... arguments):void
Defines a shortcut reference to used the curveTo method. | Pen | |
![]() | CL():void
Defines a shortcut reference to used the clear method. | Pen | |
draw(... arguments):void [override]
Draw the bezier shape. | BezierPen | ||
drawPoints(points:Array):void
Draw the bezier representation defines by the array of point passed in argument. | BezierPen | ||
drawShape():void [override]
This method contains the basic drawing shape algorithm. | BezierPen | ||
![]() | EF():void
Defines a shortcut reference to used the endFill method. | Pen | |
![]() | F(... arguments):void
Defines a shortcut reference to used the beginFill method. | Pen | |
![]() | GF(... arguments):void
Defines a shortcut reference to used the beginGradientFill method. | Pen | |
![]() | GS(... arguments):void
Defines a shortcut reference to used the lineGradientStyle method. | Pen | |
![]() | L(... arguments):void
Defines a shortcut reference to used the lineTo method. | Pen | |
![]() | M(... arguments):void
Defines a shortcut reference to used the moveTo method. | Pen | |
![]() | S(... arguments):void
Defines a shortcut reference to used the lineStyle method. | Pen | |
setPen(... arguments):void
Sets the pen properties. | BezierPen | ||
| tolerance | property |
public var tolerance:uint = 5The tolerance of the drawing shape process.
| v1 | property |
public var v1:Vector2The first vector element who defines the bezier shape.
| v2 | property |
public var v2:Vector2The second vector element who defines the bezier shape.
| v3 | property |
public var v3:Vector2The third vector element who defines the bezier shape.
| v4 | property |
public var v4:Vector2The fourth vector element who defines the bezier shape.
| BezierPen | () | Constructor |
public function BezierPen(graphic:*)Creates a new BezierPen instance.
Parametersgraphic:* — The Graphics reference to control with this helper. You can passed-in a Shape or Sprite/MovieClip reference in argument.
|
| draw | () | method |
override public function draw(... arguments):voidDraw the bezier shape.
Parameters
... arguments |
| drawPoints | () | method |
public function drawPoints(points:Array):voidDraw the bezier representation defines by the array of point passed in argument.
Parameters
points:Array |
| drawShape | () | method |
override public function drawShape():voidThis method contains the basic drawing shape algorithm.
| setPen | () | method |
public function setPen(... arguments):voidSets the pen properties.
Parameters
... arguments |