Tincture.Typography.RichText.Space (Tincture v0.1.0)

Copy Markdown View Source

An inter-word space. The line breaker stretches and shrinks these when justifying, which is why they are tokens rather than part of the words.

Summary

Types

t()

@type t() :: %Tincture.Typography.RichText.Space{
  font: String.t(),
  measured?: boolean(),
  size: number(),
  style: atom() | nil,
  text: String.t(),
  width: number()
}