Press.Layout.Page (press v0.1.0)

Copy Markdown View Source

A paginated page containing dimensions, margins, and positioned layout boxes.

Summary

Types

t()

A paginated page struct with dimensions and layout boxes.

Types

t()

@type t() :: %Press.Layout.Page{
  boxes: [Press.Layout.Box.t()],
  height: float(),
  margin: %{top: float(), right: float(), bottom: float(), left: float()},
  number: pos_integer(),
  width: float()
}

A paginated page struct with dimensions and layout boxes.