Skip to content

TextStudioPreparedWritingPath

ClassTextStudioTextStudio
public sealed class TextStudioPreparedWritingPath

Immutable adaptively flattened path prepared only when authored data changes.

public TextStudioPreparedWritingPoint GetPoint(int index)

Returns a prepared point with direction, path distance, pressure, and time data at the specified index.

Parameters

Name Type
index System.Int32

Returns

TextStudio.TextStudioPreparedWritingPoint

public TextStudioPreparedWritingStroke GetStroke(int index)

Returns the prepared point range, identity, role, bounds, and playback interval of the stroke at the specified index.

Parameters

Name Type
index System.Int32

Returns

TextStudio.TextStudioPreparedWritingStroke

public int PointCount { get; }

Returns

System.Int32

public int StrokeCount { get; }

Returns

System.Int32

public Rect Bounds { get; }

Returns

UnityEngine.Rect

public float TotalLength { get; }

Returns

System.Single

public ulong Fingerprint { get; }

Returns

System.UInt64

public bool IsEmpty { get; }

Returns

System.Boolean