PeachDrawing.Core
PeachDrawing.Core
CurveContour Class
One subpath of a GraphicsPath with its curves intact - the counterpart of PathContour, which is the same subpath already reduced to a polyline. Read it with GetCurveContours().
public sealed record CurveContour : System.IEquatable<PeachDrawing.Core.CurveContour>
Inheritance System.Object → CurveContour
Implements System.IEquatable<CurveContour>
| Constructors | |
|---|---|
| CurveContour(PaintPoint, IReadOnlyList<PathCommand>, bool) | One subpath of a GraphicsPath with its curves intact - the counterpart of PathContour, which is the same subpath already reduced to a polyline. Read it with GetCurveContours(). |
| Properties | |
|---|---|
| Closed | whether the subpath was explicitly closed (CloseFigure()): a closed subpath is joined back to Start by an implicit final line |
| Commands | the lines and cubic curves that follow Start, in order |
| Start | where the subpath begins |