> ## Documentation Index
> Fetch the complete documentation index at: https://rive.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# StrokeJoin

Defines how two stroke segments are joined at a corner.

* `miter` — Sharp corner.
* `round` — Rounded corner.
* `bevel` — Flattened corner.

```lua highlight={3} theme={null}
self.paint = Paint.with({
  color = Color.rgb(255, 100, 50),
  join = 'round',
  style = 'stroke',
})
```
