Table of Contents

Class RepArcBase

Namespace
Root.ReportNet.Pdf
Assembly
ReportNet.dll

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 PenProp

The pen properties for drawing the arc.

brush BrushProp

The brush properties for filling the arc.

semiAxisX double

The length of the semi-major axis in points.

semiAxisY double

The length of the semi-minor axis in points.

startAngleDeg double

The start angle in degrees.

arcAngleDeg double

The 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

Rect

The bounding box as a Rect object, not nullable (struct).

Box

Gets the box of the report object.

public override Rect Box { get; }

Property Value

Rect

The box as a Rect object, not nullable (struct).

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

Rect

The transformed bounding box as a Rect object, not nullable (struct).

TransformedBox

Gets the transformed box of the report object.

public override Rect TransformedBox { get; }

Property Value

Rect

The transformed box as a Rect object, not nullable (struct).