TextBounds Enum

The box of a text that TextLayout.GetOrigin places.

public enum TextBounds

Fields

NameValueDescription
Layout0The box of the layout: TextLayout.Width by TextLayout.Height, from the advances of the glyphs and the ascents and descents of the fonts. Texts placed by this box line up with each other, whatever their letters.
Ink1What is drawn: TextLayout.InkBounds. It centers a text by its visible shape (a digit in a circle) and puts the visible edge of a glyph that overhangs its advance at the anchor. A layout that draws nothing uses its layout box.