@mocanvas/mocanvas · interface
interface FrameShapeUtilDisplayValues extends TLDefaultDisplayValuesWhat 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: stringThe frame body's fill.
frameStroke: stringThe frame border's colour.
frameStrokeWidth: numberThe frame border's width, in page units.
nameColor: stringThe header's ink.
nameFontSize: numberThe header's font size, in page units.
nameHeight: numberThe 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.