RectIterators extension

Iterators over rows, columns, and positions within a Rect.

on

Properties

columns Iterable<Rect>

Available on Rect, provided by the RectIterators extension

Yields each column as a full-height Rect of width 1.
no setter
positions Iterable<Position>

Available on Rect, provided by the RectIterators extension

Yields every cell Position in row-major order.
no setter
rows Iterable<Rect>

Available on Rect, provided by the RectIterators extension

Yields each row as a full-width Rect of height 1.
no setter