Namespace TallComponents.PDF.Layout.Shapes
Class ArcShape
An arc shape is a segment of an ellipse outline. It has a center, a horizontal and vertical radius and it has a start and sweep angle.
Syntax
public class ArcShape
: PathShape
Constructors
ArcShape()
Create a new ArcShape.
ArcShape(Double,Double,Double,Double)
Create a new ArcShape with the given start point, horizontal and vertical radius.
ArcShape(Double,Double,Double,Double,Double,Double)
Create a new ArcShape with the given starting point, horizontal and vertical radius, start and sweep angle.
ArcShape(Double,Double,Double,Double,Pen)
Create a new ArcShape with the given starting point, horizontal and vertical radius and pen.
ArcShape(Double,Double,Double,Double,Pen,Double,Double)
Create a new ArcShape with the given starting point, horizontal and vertical radius, pen, start and sweep angle.
ArcShape(Double,Double,Double,Double,Pen,Brush)
Create a new ArcShape with the given starting point, horizontal and vertical radius and pen.
ArcShape(Double,Double,Double,Double,Pen,Brush,Double,Double)
Create a new ArcShape with the given starting point, horizontal and vertical radius, pen, start and sweep angle.
Properties
Double Rx
Horizontal radius.
Double Ry
Vertical radius.
Double Start
Start angle (0 corresponds to 3 o-clock).
Double Sweep
Sweep angle, counter-clockwise.
Double X1
Calculated horizontal position of the start point.
Double X2
Calculated horizontal position of the end point.
Double Y1
Calculated vertical position of the start point.
Double Y2
Calculated vertical position of the end point.