@mocanvas/editor · interface

EditorTextHtmlMeasurement

interface EditorTextHtmlMeasurement

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 3

h: number
scrollWidth: number

Unwrapped content width. Always reported: a caller that asked for it needs a number, and one that did not can ignore it, which is cheaper than making every reader handle undefined.

w: number

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.