ComputeGraphemeOffsetsArgs Interface

Arguments supplied to computeGraphemeOffsets.

Extends

Properties

Name Type Description
graphemeCharIndexes number[] An array of starting character indexes for each grapheme.  
runLayoutResult RunLayoutResult The run layout result for which grapheme ranges will be computed.  
source TextBlockComponent The TextBlockComponent for which to compute grapheme offsets.  

Inherited properties

Name Type Inherited from Description
iModel Inherited IModelDb LayoutTextArgs The iModel from which to obtain fonts and AnnotationTextStyles when laying out glyphs.
textStyleResolver Inherited TextStyleResolver LayoutTextArgs The text style resolver used to resolve effective text styles during layout.

Defined in

Last Updated: 07 October, 2025