@mocanvas/mocanvas · interface
interface TextShapeSizeInputThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 7
autoSize: booleaneditor?: Editor | nullThe editor whose rich-text extensions apply, when there is one.
font?: DefaultFontStyle@deprecated v5 renamed this to fontFamily.
fontFamily?: DefaultFontStylefontSize: numbertext: RichTextSourceThe label, in either spelling: a plain string or a rich-text document.
w: numberCurrent wrap width, used when autoSize is off.
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.