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

Text: each row's `label` at its `x` and `y`, written in its `size`, `family`, `fontface`,
`color` and `alpha`, turned its `angle`, justified by its `hjust` and `vjust`, its lines
`lineheight` apart.

Its options are `check_overlap:`, `size_unit:` and `label_with:`, a function turning each
row's label into one another library lays out (`Giggly.Label`). Build one with
`Giggly.Geom.new(Giggly.Geom.Text, 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`).

# `size_unit`

```elixir
@type size_unit() :: :mm | :pt | :cm | :in | :pc
```

A unit a layer's text sizes are read in.

# `t`

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

# `new`

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

Text from options validated against `options/0`.

# `options`

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

The options text is built from, as a `NimbleOptions` schema: whether overlapping labels are left out, the unit its sizes are in, and a function laying each label out through another library.

---

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