@mocanvas/mocanvas · interface

HighlightShapeProps

interface HighlightShapeProps

This one ships without a description. The signature above is read from the package, and the guides cover the area it belongs to.


Properties · 6

color: DefaultColorStyle
isComplete: boolean

Whether the stroke is finished; false while the pen is still down.

isPen: boolean

Whether the stroke came from a pen rather than a mouse or a finger.

scale: number
segments: DrawSegment[]

The recorded pen movement, in the same encoding a draw shape uses.

size: DefaultSizeStyle

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.