ContourLoopRange
public readonly struct ContourLoopRangeA closed contiguous loop. Parent loops precede children; nested outer islands own a new component.
Constructors
Section titled “Constructors”
ContourLoopRange(int, int, ContourLoopRole, int, int)
Section titled “ContourLoopRange(int, int, ContourLoopRole, int, int)”public ContourLoopRange(int start, int count, ContourLoopRole role, int componentIndex, int parentLoopIndex = -1)Identifies a closed loop by its vertex span, fill role, component, and optional parent loop.
Parameters
| Name | Type |
|---|---|
start |
System.Int32 |
count |
System.Int32 |
role |
TextStudio.ThreeD.ContourLoopRole |
componentIndex |
System.Int32 |
parentLoopIndex |
System.Int32 |
Properties
Section titled “Properties”
public int Count { get; }Returns
System.Int32
public ContourLoopRole Role { get; }Returns
TextStudio.ThreeD.ContourLoopRole
ComponentIndex
Section titled “ComponentIndex”public int ComponentIndex { get; }Returns
System.Int32
ParentLoopIndex
Section titled “ParentLoopIndex”public int ParentLoopIndex { get; }Returns
System.Int32
IsClosed
Section titled “IsClosed”public bool IsClosed { get; }Returns
System.Boolean