A rectangle in cell coordinates, returned by Harlock.Layout.split/3.
(row, col) is the top-left corner; w spans cols rightward, h
spans rows downward. All values are non-negative integers; an
empty rect has w == 0 or h == 0.
Summary
Types
@type t() :: %Harlock.Layout.Rect{ col: non_neg_integer(), h: non_neg_integer(), row: non_neg_integer(), w: non_neg_integer() }
Functions
@spec new(non_neg_integer(), non_neg_integer(), non_neg_integer(), non_neg_integer()) :: t()