@mocanvas/editor · constant

DefaultTextAlignStyle

declare const DefaultTextAlignStyle: EnumStyleProp<"start" | "end" | "middle">

Alignment of the text *inside* a shape, shared across every text-bearing shape. Distinct from DefaultHorizontalAlignStyle, which places the label box within the shape.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.