ArcSegment Class

Represents a non-rotated elliptical arc segment in a Figure (or a complete ellipse, if SweepAngle is 360).

Definition

Namespace: KGySoft.Drawing.Shapes
Assembly: KGySoft.Drawing.Core (in KGySoft.Drawing.Core.dll) Version: 10.0.0-rc.1
C#
public sealed class ArcSegment : PathSegment
Inheritance
Object    PathSegment    ArcSegment

Properties

Bounds Gets the bounding rectangle of this ArcSegment.
Center Gets the center point of this ArcSegment.
EndPoint Gets the end point of this ArcSegment.
(Overrides PathSegmentEndPoint)
RadiusX Gets the horizontal radius of this ArcSegment.
RadiusY Gets the vertical radius of this ArcSegment.
StartAngle Gets the start angle of this ArcSegment in degrees. The angle is measured clockwise from the x-axis.
StartPoint Gets the start point of this ArcSegment.
(Overrides PathSegmentStartPoint)
SweepAngle Gets the sweep angle of this ArcSegment in degrees. A positive value indicates a clockwise sweep; a negative value indicates a counterclockwise sweep. For a full ellipse, this property always returns +360.

Methods

GetFlattenedPoints Gets the flattened points that define this PathSegment as a polyline.
(Inherited from PathSegment)
ToBezierPoints Gets the points of this ArcSegment as a collection of Bézier points.

See Also