Offset Path
Inflates or deflates shapes and polylines by an offset distance.
Node id path/offset-path
The Offset Path node expands (outset) or shrinks (inset) a shape or line by distance, returning an array of offset geometries.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| object | Renderable | — | |
| distance | number | 10 | |
| join | StrokeJoin | "miter" | |
| cap | StrokeCaps | "butt" | |
| miterLimit | number | 2 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | Array<Renderable> |
Inputs
object: The shape or line to offset.distance: The offset distance in local units (positive for outset, negative for inset). Defaults to 10.join: The corner join style (miter,round,bevel). Defaults tomiter.cap: The open line end cap style (butt,square,round). Defaults tobutt.miterLimit: Maximum ratio of miter length to offset distance before falling back to bevel. Defaults to 2.0.
Output
result: An array of offset geometries (Array<Renderable>).