Box vertical alignment for text draw commands. Given the command's box height and the laid-out text block's height, returns the Y offset to apply to every quad. 'top' (or an undefined align, or a missing box height) is the legacy behavior: offset 0.
height
'top'
align
Box vertical alignment for text draw commands. Given the command's box
heightand the laid-out text block's height, returns the Y offset to apply to every quad.'top'(or an undefinedalign, or a missing boxheight) is the legacy behavior: offset 0.