Back to API Reference
Struct

RangeBoundsEntry

sealed

One per-line source box of a cluster range, in component-local coordinates.

public Rect rect
public int lineIndex

Layout line index; consecutive entries with different indices are on adjacent lines.

public bool rtl

Resolved direction of the first shaping run represented by this fragment.

public int clusterStart

Smallest selected logical cluster represented by this fragment.

public int clusterEnd

Exclusive selected logical cluster bound represented by this fragment.

public bool containsRangeStart

Whether this visual fragment contains the selected range's logical start.

public bool containsRangeEnd

Whether this visual fragment contains the selected range's logical end.

public bool rangeStartOnRight

Physical side on which the logical range start lies.

public bool rangeEndOnRight

Physical side on which the logical range end lies.