Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Reference

deixis-rect-region

Region-shape callbacks for rectangular or elliptical bounds.

No Setup

Returns: content.

Task guide

Example

deixis-rect-region(width: 40pt, height: 20pt, fill: teal)

Shape records provide width, height, fill/stroke and rectangle radius. Region registration/fragment selection belongs to the calling mark, not these painters. Use region marks with stroke: none for a highlight; add region-shape: deixis-ellipse-region for an ellipse.

deixis-rect-region

deixis-rect-region(..args)

A rectangular region mark. Use deixis-region-mark(stroke: none) for a fill-only highlight.

Parameters

NameDefaultTypes
..argsvariadic

deixis-ellipse-region

deixis-ellipse-region(..args)

An elliptical region mark. Select with region-shape: deixis-ellipse-region on deixis-region-mark; add stroke: none for a fill-only highlight.

Parameters

NameDefaultTypes
..argsvariadic