Table of Contents

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

points IReadOnlyList<Point>

Fields

Points

Ordered list of points forming the closed contour path.

public readonly IReadOnlyList<Point> Points

Field Value

IReadOnlyList<Point>

Properties

Bounds

public Rect Bounds { get; }

Property Value

Rect

Count

Returns the number of points in this contour.

public int Count { get; }

Property Value

int

this[int]

Indexer access to individual points.

public Point this[int index] { get; }

Parameters

index int

Property Value

Point

SignedArea

public NFloat SignedArea { get; }

Property Value

NFloat

Winding

public PathTesselator.ClosedContour.WindingDirection Winding { get; }

Property Value

PathTesselator.ClosedContour.WindingDirection