PdfArcElement Class

Defines an elliptical arc drawn in a PDF document. The arc is a portion of the ellipse inscribed in the axis-aligned rectangle defined by X, Y, Width and Height. The arc starts at StartAngleDegrees and spans SweepAngleDegrees degrees, measured counter-clockwise from the positive X axis of that bounding rectangle. When Width equals Height the underlying ellipse is a circle and the arc is a circular arc. Coordinates are relative to the top-left corner of the page or template

Definition

Namespace: HiQPdf.Next
Assembly: HiQPdf.Next (in HiQPdf.Next.dll) Version: 18.9.2
C#
public class PdfArcElement
Inheritance
Object    PdfArcElement

Constructors

PdfArcElement Initializes a new instance of the PdfArcElement class

Properties

Accessibility Accessibility metadata used when the host PdfDocument is tagged. The default structure type for an arc is Artifact, marking it as decorative graphic excluded from the structure tree
Closure How the arc is closed and whether it can be filled. The default value is Open which produces a stroked curve without fill
FillColor The fill color used when Closure is Chord or Pie. When null, or when the closure is Open, the arc is only stroked
FillOpacity The opacity of the arc fill in the range 0..1. The default value is 1 which produces a fully opaque fill
Height The height, in points, of the bounding rectangle of the ellipse the arc is part of. Equals the length of the vertical axis of that ellipse
LineColor The line color of the arc. When null the arc is only filled
LineOpacity The opacity of the arc line in the range 0..1. The default value is 1 which produces a fully opaque line
LineStyle The line style used to stroke the arc, including width, dash pattern and endpoint cap style
RotationDegrees The rotation angle in degrees applied to the arc, in addition to the angular range defined by StartAngleDegrees and SweepAngleDegrees. Positive values rotate counter-clockwise. The default value is 0 which produces no extra rotation
RotationPivot The pivot point used when rotating this arc. The pivot is interpreted on the bounding rectangle of the arc. The default value is TopLeft
StartAngleDegrees The starting angle of the arc in degrees, measured counter-clockwise from the positive X axis of the bounding rectangle of the ellipse the arc is part of
SweepAngleDegrees The angular extent of the arc in degrees. Positive values sweep counter-clockwise, negative values sweep clockwise. A full ellipse corresponds to a sweep of 360 or -360 degrees
Width The width, in points, of the bounding rectangle of the ellipse the arc is part of. Equals the length of the horizontal axis of that ellipse
X The X position, in points, of the top-left corner of the bounding rectangle of the ellipse the arc is part of. Measured from the top-left corner of the page
Y The Y position, in points, of the top-left corner of the bounding rectangle of the ellipse the arc is part of. Measured from the top-left corner of the page

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also