TextTypeAlignments (Enum)

The text alignment relative to the path.

Name Description Value
ASCENDER_TEXT_ALIGNMENT Aligns the ascender to the path (not the path’s stroke). 1952538995 =
‘taas’
DESCENDER_TEXT_ALIGNMENT Aligns descender to the path (not the path’s stroke). 1952539763 =
‘tads’
CENTER_TEXT_ALIGNMENT Aligns the midpoint between the ascender and the descender to the path (not the path’s stroke). 1952539508 =
‘tact’
BASELINE_TEXT_ALIGNMENT The text baseline is aligned to the path (not the path’s stroke). 1952539244 =
‘tabl’
ABOVE_RIGHT_EM_BOX_TEXT_ALIGNMENT The top-edge or right-edge baseline of the em box is aligned to the path. 1952543333 =
‘tare’
BELOW_LEFT_EM_BOX_TEXT_ALIGNMENT The bottom-edge or left-edge baseline of the em box is aligned to the path. 1952607333 =
‘tble’
ABOVE_RIGHT_ICF_BOX_TEXT_ALIGNMENT The ideographic character face box top-edge or right-edge baseline is aligned to the path. 1952543337 =
‘tari’
BELOW_LEFT_ICF_BOX_TEXT_ALIGNMENT The ideographic character face box bottom-edge or left-edge baseline is aligned to the path. 1952607337 =
‘tbli’

Usage:

Leave a Comment

Previous post:

Next post: