Skip to main content

Module geometry

Module geometry 

Source
Expand description

Geometric primitives for layout computation.

Structs§

Edges
Edge values (top, right, bottom, left) — used for margin, padding, border.
Point
A 2D point.
Rect
An axis-aligned rectangle.
Size
A 2D size.
SizeConstraint
Size constraints with optional min/max.

Enums§

AvailableSpace
Available space constraint for layout.