# `Giggly.Geom.Ribbon`
[🔗](https://github.com/giggleton/giggly/blob/v0.2.0/lib/giggly/geom/ribbon.ex#L1)

Ribbons: a band through each group's rows, between each row's `ymin` and `ymax` along `x`, or
its `xmin` and `xmax` along `y`, filled with its `fill` at its `alpha` and outlined in its
`color`, `linewidth` and `linetype` along the edges `outline_type:` names. A row missing a
position it needs breaks the band. Its setup puts the rows in order along the band and records
which way it runs.

Its options are `orientation:` (`:x`, `:y`, or `:none`, which reads the range given),
`outline_type:` (`:both`, `:upper`, `:lower` or `:full`), `lineend:`, `linejoin:` and
`linemitre:`. Build one with `Giggly.Geom.new(Giggly.Geom.Ribbon, options)`, so each option left
out takes its default. A geom drawing by delegation sets its rows up through it and draws them
through it (`Giggly.Geom`).

# `outline_type`

```elixir
@type outline_type() :: :both | :upper | :lower | :full
```

Which of a ribbon's edges are outlined, ggplot2's `outline.type`.

# `t`

```elixir
@opaque t()
```

# `new`

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

A ribbon from options validated against `options/0`.

# `options`

```elixir
@spec options() :: keyword()
```

The options a ribbon is built from, as a `NimbleOptions` schema: which way it runs, which edges it outlines, and its line ends, corners and mitre limit.

---

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