Skia.ParagraphStyle (Skia v0.1.1)

Copy Markdown View Source

Reusable paragraph layout options for Skia.text/3.

Summary

Types

t()

@type t() :: %Skia.ParagraphStyle{
  align: atom() | nil,
  direction: atom() | nil,
  width: number() | nil
}

Functions

new(opts \\ [])

@spec new(keyword()) :: t()

to_opts(style)

@spec to_opts(t()) :: keyword()