Struct PathTesselator.ClosedContour
- Namespace
- Xui.Runtime.Software.Tessellate
- Assembly
- Xui.Runtime.Software.dll
Represents a closed contour — a sequence of connected points forming a polygon loop.
public readonly struct PathTesselator.ClosedContour
- Inherited Members
Constructors
ClosedContour(IReadOnlyList<Point>)
Initializes a new closed contour from a sequence of points.
public ClosedContour(IReadOnlyList<Point> points)
Parameters
pointsIReadOnlyList<Point>
Fields
Points
Ordered list of points forming the closed contour path.
public readonly IReadOnlyList<Point> Points
Field Value
Properties
Bounds
public Rect Bounds { get; }
Property Value
Count
Returns the number of points in this contour.
public int Count { get; }
Property Value
this[int]
Indexer access to individual points.
public Point this[int index] { get; }
Parameters
indexint
Property Value
SignedArea
public NFloat SignedArea { get; }
Property Value
Winding
public PathTesselator.ClosedContour.WindingDirection Winding { get; }