ArcSegment
open class ArcSegment : ShapeSegment
Represents a shape segment in the form of arc. This class inherits ShapeSegment.
-
Adds this ArcSegment to the specified path.
Declaration
Swift
open override func addToPath(_ path: GraphicsPath)
Parameters
path
The path to add this ArcSegment to.
-
Loads the specifications of this ArcSegment from the specified XmlElement.
Declaration
Swift
open override func loadFromXml(_ element: XmlElement?)
Parameters
element
The XmlElement to load the ArcSegment from. The value can be nil.
-
Checks if this ArcSegment is full ellipse.
Declaration
Swift
open func isFullEllipse() -> Bool
Return Value
true if theArcSegment is full ellipse; otherwise false.
-
The x-coordinate of the bounding rectangle of the ellipse this ArcSegment is taken from.
Declaration
Swift
open var x: Double
-
The y-coordinate of the bounding rectangle of the ellipse this ArcSegment is taken from.
Declaration
Swift
open var y: Double
-
The width of the bounding rectangle of the ellipse this ArcSegment is taken from.
Declaration
Swift
open var w: Double
-
The height of the bounding rectangle of the ellipse this ArcSegment is taken from.
Declaration
Swift
open var h: Double
-
The start angle in the ellipse this ArcSegment is taken from.
Declaration
Swift
open var a: Double
-
The sweeping angle in the ellipse this ArcSegment is taken from.
Declaration
Swift
open var s: Double