ExVEx.Style.Alignment (ExVEx v0.2.0)

Copy Markdown View Source

Alignment and wrapping options declared on a <xf> record.

Summary

Types

horizontal()

@type horizontal() ::
  :general
  | :left
  | :center
  | :right
  | :fill
  | :justify
  | :center_continuous
  | :distributed

t()

@type t() :: %ExVEx.Style.Alignment{
  horizontal: horizontal(),
  indent: non_neg_integer(),
  shrink_to_fit: boolean(),
  text_rotation: integer(),
  vertical: vertical(),
  wrap_text: boolean()
}

vertical()

@type vertical() :: :top | :center | :bottom | :justify | :distributed