API Documentation | All Packages | All Classes | Index | Frames No Frames |
Class EllipticalArc

Package | com.zavoo.svg.utils
Class | public class EllipticalArc

Functions from degrafa com.degrafa.geometry.utilities.ArcUtils

Public Methods

| Method | Defined by
--- | --- | ---
|  | drawArc(rx:Number, ry:Number, angle:Number, largeArcFlag:Boolean, sweepFlag:Boolean, x:Number, y:Number, LastPointX:Number, LastPointY:Number, graphicCommands:Array):void [static] Create quadratic arc graphics commands based on an SVG elliptical arc | EllipticalArc

Method detail

drawArc | () | method

`public static function drawArc(rx:Number, ry:Number, angle:Number, largeArcFlag:Boolean, sweepFlag:Boolean, x:Number, y:Number, LastPointX:Number, LastPointY:Number, graphicCommands:Array):void`

Create quadratic arc graphics commands based on an SVG elliptical arc

Parameters

| `rx:Number` — x radius
| `ry:Number` — y radius
| `angle:Number` — angle of rotation from the x-axis
| `largeArcFlag:Boolean` — true if arc is greater than 180 degrees
| `sweepFlag:Boolean` — determines if the arc proceeds in a postitive or negative radial direction
| `x:Number` — arc end x value
| `y:Number` — arc end y value
| `LastPointX:Number` — starting x value of arc
| `LastPointY:Number` — starting y value of arc
| `graphicCommands:Array` — array to hold graphics commands