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

Explicit hit test rectangle override for interactive canvas shapes.

# `t`

```elixir
@type t() :: %Plushie.Canvas.HitRect{
  h: number(),
  w: number(),
  x: number(),
  y: number()
}
```

# `from_opts`

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

Constructs a hit rect from a keyword list.

---

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