Type alias HAlign

HAlign: "start" | "center" | "end" | "left" | "right"

Horizontal alignment, shared by every option object that aligns something horizontally: a layer in its container (LayerPosition), text in a TextLayer (TextLayerOptions), and a bitmap in a CanvasLayer (BitmapOptions).

'start'/'end' are the preferred spellings; 'left'/'right' are exact aliases kept so existing code keeps working, and are treated identically everywhere (this library lays out left-to-right only - 'start' never means "right" the way CSS/canvas would in RTL).