Quartz.Text (Quartz v0.8.1)

View Source

Text element.

Summary

Types

t()

@type t() :: %Quartz.Text{
  alternates: term(),
  baseline: term(),
  baseline_shift: term(),
  bottom_edge: term(),
  content: term(),
  debug: term(),
  debug_properties: term(),
  depth: term(),
  dir: term(),
  discretionary_ligatures: term(),
  escape: term(),
  fallback: term(),
  features: term(),
  fill: term(),
  font: term(),
  fractions: term(),
  height: term(),
  historical_ligatures: term(),
  hyphenate: term(),
  id: term(),
  kerning: term(),
  lang: term(),
  ligatures: term(),
  number_type: term(),
  number_width: term(),
  overhang: term(),
  prefix: term(),
  region: term(),
  rotation: term(),
  size: term(),
  slashed_zero: term(),
  spacing: term(),
  stretch: term(),
  style: term(),
  stylistic_set: term(),
  top_edge: term(),
  tracking: term(),
  weight: term(),
  width: term(),
  x: term(),
  y: term(),
  z_index: term()
}

text()

@type text() :: t() | binary()

Functions

draw_new(content, opts \\ [])

new(content, opts \\ [])

Create a text element.

sub(content, attrs \\ [])

sup(content, attrs \\ [])

tspan(content, attrs \\ [])