# `ExGram.Model.StoryAreaPosition`
[🔗](https://github.com/rockneurotiko/ex_gram/blob/0.64.0/lib/ex_gram.ex#L5270)

Describes the position of a clickable area within a story.

Check the [documentation of this model on Telegram Bot API](https://core.telegram.org/bots/api#storyareaposition)

- `x_percentage`: The abscissa of the area's center, as a percentage of the media width
- `y_percentage`: The ordinate of the area's center, as a percentage of the media height
- `width_percentage`: The width of the area's rectangle, as a percentage of the media width
- `height_percentage`: The height of the area's rectangle, as a percentage of the media height
- `rotation_angle`: The clockwise rotation angle of the rectangle, in degrees; 0-360
- `corner_radius_percentage`: The radius of the rectangle corner rounding, as a percentage of the media width

# `t`

```elixir
@type t() :: %ExGram.Model.StoryAreaPosition{
  corner_radius_percentage: float(),
  height_percentage: float(),
  rotation_angle: float(),
  width_percentage: float(),
  x_percentage: float(),
  y_percentage: float()
}
```

# `decode_as`

---

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