@mocanvas/mocanvas · interface

HighlightShapeOptions

interface HighlightShapeOptions extends ShapeUtilOptions<HighlightShape, HighlightShapeUtilDisplayValues>

HighlightShapeUtil's settings; see ShapeUtil.configure.


Properties · 2

opacity?: number

How see-through a highlight is, 0..1; see HIGHLIGHT_OPACITY.

strokeScale?: number

A multiplier on HIGHLIGHT_STROKE_SIZES; 1 draws the standard width.

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.