Tincture.Typography.Line (Tincture v0.1.0)

Copy Markdown View Source

One laid-out line: its text, its tokens, its measured width and its position.

Summary

Types

t()

@type t() :: %Tincture.Typography.Line{
  text: String.t(),
  tokens: [Tincture.Typography.RichText.token()],
  width: float(),
  x: float(),
  y: float()
}