Figler.Render.Text.Glyph (figler v0.1.0-beta.3)

Copy Markdown View Source

A glyph Figma laid out and saved with the text: its outline blob, pen position, and the character it draws.

Summary

Types

t()

@type t() :: %Figler.Render.Text.Glyph{
  advance: float() | nil,
  commands_blob: non_neg_integer(),
  emoji: String.t() | nil,
  first_character: non_neg_integer() | nil,
  font_size: float(),
  rotation: float(),
  x: float(),
  y: float()
}