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

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

# `t`

```elixir
@type t() :: %Plushie.Canvas.Stroke{
  cap: String.t() | nil,
  color: String.t(),
  dash: Plushie.Canvas.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*
