| Package | com.joshtynjala.utils |
| Class | public class BezierUtil |
| Method | Defined by | ||
|---|---|---|---|
|
drawBezierCurve(graphics:Graphics, start:Point, end:Point, controls:Array, precision:int):void
[static]
Draws a bezier curve.
| BezierUtil | ||
| drawBezierCurve | () | method |
public static function drawBezierCurve(graphics:Graphics, start:Point, end:Point, controls:Array, precision:int):voidDraws a bezier curve.
Parametersgraphics:Graphics — The Graphics object to which to draw the curve.
|
|
start:Point — The point at which to begin drawing.
|
|
end:Point — The point at which to end drawing.
|
|
controls:Array — The control points of the curve.
|
|
precision:int — The number of line segments to use to draw the curve.
|