Function: alignmentToOffset()
alignmentToOffset(
alignment,height):number
Defined in: src/mobjects/text/textOnPathLayout.ts:305
Map an TextOnPathAlignment to a perpendicular offset from the curve.
center keeps the glyph center on the curve. baseline lifts it to the
positive-perpendicular side (baseline near the curve) and top lowers it,
each by height / 2.
Parameters
alignment
Alignment mode
height
number
Representative glyph height in world units
Returns
number
Perpendicular offset in world units