Skip to content

TextStudio3DStrokeEdge

StructTextStudio.ThreeDTextStudio.3D
public readonly struct TextStudio3DStrokeEdge

One arc-length polyline between graph nodes. A loop has equal start/end nodes and an explicit coincident terminal point.

TextStudio3DStrokeEdge(int, int, int, int, int, float)

Section titled “TextStudio3DStrokeEdge(int, int, int, int, int, float)”
public TextStudio3DStrokeEdge(int startNode, int endNode, int pointStart, int pointCount, int componentIndex, float length)

Identifies an edge's endpoint nodes, contiguous point range, component, and arc length.

Parameters

Name Type
startNode System.Int32
endNode System.Int32
pointStart System.Int32
pointCount System.Int32
componentIndex System.Int32
length System.Single

public int StartNode { get; }

Returns

System.Int32

public int EndNode { get; }

Returns

System.Int32

public int PointStart { get; }

Returns

System.Int32

public int PointCount { get; }

Returns

System.Int32

public int ComponentIndex { get; }

Returns

System.Int32

public float Length { get; }

Returns

System.Single

public bool Closed { get; }

Returns

System.Boolean