@mocanvas/mocanvas · interface

FrameShapeUtilDisplayValues

interface FrameShapeUtilDisplayValues extends TLDefaultDisplayValues

What a frame paints with.

A frame is a container, so almost nothing it draws comes from the shared style set: its body and border are fixed chrome, and the only text it has is the name in its header. Those are what it adds.


Properties · 6

frameFill: string

The frame body's fill.

frameStroke: string

The frame border's colour.

frameStrokeWidth: number

The frame border's width, in page units.

nameColor: string

The header's ink.

nameFontSize: number

The header's font size, in page units.

nameHeight: number

The header's height, in page units — how far above the body it sits.

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.