Namespace TallComponents.PDF.Shapes
Class ArcShape
An arc shape is a segment of an ellipse outline. It has a center, a horizontal and vertical radi 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 startpoint, horizontal and vertical radius.
ArcShape(Double,Double,Double,Double,Double,Double)
Create a new ArcShape with the given startpoint, horizontal and vertical radius, start and sweep angle.
ArcShape(Double,Double,Double,Double,Pen)
Create a new ArcShape with the given startpoint, horizontal and vertical radius and pen.
ArcShape(Double,Double,Double,Double,Pen,Double,Double)
Create a new ArcShape with the given startpoint, horizontal and vertical radius, pen, start and sweep angle.
ArcShape(Double,Double,Double,Double,Pen,Brush)
Create a new ArcShape with the given startpoint, horizontal and vertical radius and pen.
ArcShape(Double,Double,Double,Double,Pen,Brush,Double,Double)
Create a new ArcShape with the given startpoint, horizontal and vertical radius, pen, start and sweep angle.
Properties
Double CenterX
X-position of the center of the arc.
Double CenterY
Y-position of the center of the arc.
Double EndX
Calculated horizontal position of the end point.
Double EndY
Calculated vertical position of the end point.
Double RadiusX
Horizontal radius.
Double RadiusY
Vertical radius.
Double Start
Start angle (0 corresponds to 3 o-clock).
Double StartX
Calculated horizontal position of the start point.
Double StartY
Calculated vertical position of the start point.
Double Sweep
Sweep angle, counter-clockwise.