TextStudioPreparedWritingPath
public sealed class TextStudioPreparedWritingPathImmutable adaptively flattened path prepared only when authored data changes.
Methods
Section titled “Methods”
GetPoint(int)
Section titled “GetPoint(int)”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
GetStroke(int)
Section titled “GetStroke(int)”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
Properties
Section titled “Properties”
PointCount
Section titled “PointCount”public int PointCount { get; }Returns
System.Int32
StrokeCount
Section titled “StrokeCount”public int StrokeCount { get; }Returns
System.Int32
Bounds
Section titled “Bounds”public Rect Bounds { get; }Returns
UnityEngine.Rect
TotalLength
Section titled “TotalLength”public float TotalLength { get; }Returns
System.Single
Fingerprint
Section titled “Fingerprint”public ulong Fingerprint { get; }Returns
System.UInt64
IsEmpty
Section titled “IsEmpty”public bool IsEmpty { get; }Returns
System.Boolean