Typst.Format.Table.Hline (Typst v0.1.4)

View Source

Creates a typst table.hline() and implements the String.Chars protocol for easy EEx interpolation.

Examples

iex> alias Typst.Format.Table.Hline
...> %Hline{start: 2} |> to_string()
"table.hline(start: 2)"

Summary

Types

t()

@type t() :: %Typst.Format.Table.Hline{
  end: non_neg_integer(),
  position:
    :start | :end | :left | :center | :right | :top | :horizon | :bottom,
  start: non_neg_integer(),
  stroke: String.t(),
  y: non_neg_integer()
}