PeachDrawing.Core

PeachDrawing.Core

PathContour Class

One flattened subpath: the polyline Flatten(double) reduced a contour to, and whether that contour was explicitly closed (CloseFigure()) - an open subpath gets caps where a closed one gets a join, so a stroker needs this distinction, not just the points.

public sealed record PathContour : System.IEquatable<PeachDrawing.Core.PathContour>

Inheritance System.Object → PathContour

Implements System.IEquatable<PathContour>

Constructors  
PathContour(IReadOnlyList<PaintPoint>, bool) One flattened subpath: the polyline Flatten(double) reduced a contour to, and whether that contour was explicitly closed (CloseFigure()) - an open subpath gets caps where a closed one gets a join, so a stroker needs this distinction, not just the points.