@mocanvas/mocanvas · interface
interface LabelMeasureOptionsThis one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.
Properties · 6
editor?: Editor | nullThe editor the label belongs to, used to pick up its configured rich-text extensions. Optional: without one the default extension set is used.
font?: DefaultFontStyle@deprecated v5 renamed this to fontFamily.
fontFamily?: DefaultFontStyleThe label's font style token. Named font before v5; font is still
accepted and means the same thing.
fontSize: numbermaxWidth?: numberWrap width in px including padding; omit for no soft wrapping.
padding?: numbermocanvas 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.