Skip to content

ContourLoopRange

StructTextStudio.ThreeDTextStudio.3D
public readonly struct ContourLoopRange

A closed contiguous loop. Parent loops precede children; nested outer islands own a new component.

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

public int Count { get; }

Returns

System.Int32

public ContourLoopRole Role { get; }

Returns

TextStudio.ThreeD.ContourLoopRole

public int ComponentIndex { get; }

Returns

System.Int32

public int ParentLoopIndex { get; }

Returns

System.Int32

public bool IsClosed { get; }

Returns

System.Boolean