BezierSegment Class

Represents a path segment in a Figure, consisting of zero, one, or more cubic Bézier curves.

Definition

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

Remarks

  Note

This class is meant to provide information about a series of cubic Bézier segments in a Figure for interoperability with other libraries. To add new figures or path segments to a Path, use its public StartFigure and Add... methods instead.

Properties

EndPoint Gets the end point of this BezierSegment.
(Overrides PathSegmentEndPoint)
Points Gets a read-only collection of the points that define this BezierSegment. It always contains 1 + 3n points, where n is the number of cubic Bézier curves in this segment (n can be zero).
StartPoint Gets the start point of this BezierSegment.
(Overrides PathSegmentStartPoint)

Methods

GetFlattenedPoints Gets the flattened points that define this PathSegment as a polyline.
(Inherited from PathSegment)

See Also