@mocanvas/mocanvas · interface
interface SvgTextOptionsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 9
align?: DefaultHorizontalAlignStyle | "start" | "middle" | "end"@deprecated v5 renamed this to textAlign.
color: stringCSS colour for the glyphs.
fontFamily: stringfontSize: numberfontWeight?: string | numberpadding?: numberInset from the box edges on every side.
textAlign?: DefaultHorizontalAlignStyle | "start" | "middle" | "end"Horizontal alignment. Named align before v5; align is still accepted.
verticalAlign: DefaultVerticalAlignStylewrap?: booleanSoft-wrap paragraphs at the box width (minus padding).
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.