@mocanvas/mocanvas · interface

VideoShapeUtilDisplayValues

interface VideoShapeUtilDisplayValues extends TLDefaultDisplayValues

What a video shape paints with: the placeholder frame and the play glyph drawn over it. Like an image, a video carries no styles of its own.


Properties · 4

placeholderFill: string

Fill of the frame drawn before the video can be shown.

placeholderStroke: string

Border of that placeholder.

playColor: string

Ink of the play glyph.

playSize: number

The play glyph's side, in page units.

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.