@mocanvas/mocanvas · function

getTextShapeTextureSpec

declare function getTextShapeTextureSpec(editor: Editor, shape: TextShape): TextTextureSpec

The rasterization spec for a text shape at the editor's current resolution bucket.

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.