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

Canvas line shape between two points with optional stroke and opacity.

# `t`

```elixir
@type t() :: %Plushie.Canvas.Shape.Line{
  opacity: number() | nil,
  stroke: term(),
  x1: number(),
  x2: number(),
  y1: number(),
  y2: number()
}
```

---

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