Search Docs
Loading...
Skip to content

Interface: CharacterInkBox

Tight ink-paint bounding box of a single grapheme, in global scene coordinates. Returned by block.getTextCharacterInkBoxes. The baseline Y is reported separately because it does not equal y + height (the box is the tight ink rect; the baseline anchors glyph descenders).

Properties#

PropertyTypeDescription
xnumberGlobal X of the tight ink rect (left edge, Y-down scene space).
ynumberGlobal Y of the tight ink rect (top edge, Y-down scene space).
widthnumberWidth of the tight ink rect.
heightnumberHeight of the tight ink rect.
baselineYnumberGlobal Y of the glyph baseline.