Header menu logo Mibo

GridSection2D<'T> Type

A lightweight "view" or "cursor" into a backing grid. Allows defining content using relative coordinates (0,0 is the section's top-left) and nesting layouts without copying data.

Record fields

Record Field Description

BackingGrid

Full Usage: BackingGrid

Field type: CellGrid2D<'T>
Field type: CellGrid2D<'T>

Height

Full Usage: Height

Field type: int

The virtual height of this section. Drawing outside (0..Height-1) is safely ignored (clipped).

Field type: int

OffsetX

Full Usage: OffsetX

Field type: int

X offset from the backing grid's origin.

Field type: int

OffsetY

Full Usage: OffsetY

Field type: int

Y offset from the backing grid's origin.

Field type: int

Width

Full Usage: Width

Field type: int

The virtual width of this section. Drawing outside (0..Width-1) is safely ignored (clipped).

Field type: int

Type something to start searching.