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 ​
| Parameter | Type |
|---|---|
path | ContextPath |
state | PathState |
Returns ​
void