@mocanvas/editor · function
declare function registerTextMeasureImplementation(provider: EditorTextMeasureProvider | null): () => voidInstall the measurer behind Editor.textMeasure. mocanvas calls this at
import time; pass null to remove it. Returns a function that removes the
provider again (only if it is still the registered one).
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.