Skip to content

API > Text > alignByGeometry


Text.alignByGeometry⚓︎

Name Type
alignByGeometry boolean

Description⚓︎

Use the extents of glyph geometry to perform horizontal alignment rather than glyph metrics.

Extra Detail⚓︎

This can result in better fitting left and right alignment, but may result in incorrect positioning when attempting to overlay multiple fonts (such as a specialized outline font) on top of each other.