Skip to content

Documentation / @ripl/core / PathRenderer

Type Alias: PathRenderer ​

PathRenderer = (path, state) => void

Defined in: packages/core/src/elements/path.ts:37

A callback that draws custom geometry onto a ContextPath using the element's state.

Parameters ​

ParameterType
pathContextPath
statePathState

Returns ​

void