Class RepArcBase
Represents the base class for drawing arcs in a PDF report.
public abstract class RepArcBase : RepObject
- Inheritance
-
RepArcBase
- Derived
- Inherited Members
Constructors
RepArcBase(PenProp?, BrushProp?, double, double, double, double)
Initializes a new instance of the RepArcBase class.
protected RepArcBase(PenProp? pen, BrushProp? brush, double semiAxisX, double semiAxisY, double startAngleDeg, double arcAngleDeg)
Parameters
pen
PenPropThe pen properties for drawing the arc.
brush
BrushPropThe brush properties for filling the arc.
semiAxisX
doubleThe length of the semi-major axis in points.
semiAxisY
doubleThe length of the semi-minor axis in points.
startAngleDeg
doubleThe start angle in degrees.
arcAngleDeg
doubleThe arc angle in degrees counterclockwise.
Exceptions
- ArgumentOutOfRangeException
Thrown when the semi-major or semi-minor axis is less than or equal to zero, or when the arc angle is out of range.
- ArgumentException
Thrown when both pen and brush are null.
Properties
ArcAngleDeg
Gets the angle of the arc in degrees.
public double ArcAngleDeg { get; }
Property Value
- double
The angle of the arc in degrees.
BBox
Gets the bounding box of the report object.
public override Rect BBox { get; }
Property Value
Box
Gets the box of the report object.
public override Rect Box { get; }
Property Value
Brush
Gets the brush properties for filling the arc.
public BrushProp? Brush { get; }
Property Value
- BrushProp
The brush properties, nullable.
EndAngleDeg
Gets the ending angle of the arc in degrees.
public double EndAngleDeg { get; }
Property Value
- double
The ending angle in degrees.
Pen
Gets the pen properties for drawing the arc.
public PenProp? Pen { get; }
Property Value
- PenProp
The pen properties, nullable.
SemiAxisX
Gets the length of the semi-major axis in points.
public double SemiAxisX { get; }
Property Value
- double
The length of the semi-major axis in points.
SemiAxisXmm
Gets the length of the semi-major axis in millimeters.
public double SemiAxisXmm { get; }
Property Value
- double
The length of the semi-major axis in millimeters.
SemiAxisY
Gets the length of the semi-minor axis in points.
public double SemiAxisY { get; }
Property Value
- double
The length of the semi-minor axis in points.
SemiAxisYmm
Gets the length of the semi-minor axis in millimeters.
public double SemiAxisYmm { get; }
Property Value
- double
The length of the semi-minor axis in millimeters.
StartAngleDeg
Gets the starting angle of the arc in degrees.
public double StartAngleDeg { get; }
Property Value
- double
The starting angle in degrees.
TransformedBBox
Gets the transformed bounding box of the report object.
public override Rect TransformedBBox { get; }
Property Value
TransformedBox
Gets the transformed box of the report object.
public override Rect TransformedBox { get; }