# `Plushie.Canvas.Shape.Stroke`
[🔗](https://github.com/plushie-ui/plushie-elixir/blob/v0.6.0/lib/plushie/canvas/shape/stroke.ex#L1)

Canvas stroke descriptor with color, width, and optional cap/join/dash.

# `t`

```elixir
@type t() :: %Plushie.Canvas.Shape.Stroke{
  cap: String.t() | nil,
  color: String.t(),
  dash: Plushie.Canvas.Shape.Dash.t() | nil,
  join: String.t() | nil,
  width: number()
}
```

# `from_opts`

```elixir
@spec from_opts(keyword()) :: t()
```

Constructs a stroke from a keyword list.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
