@serenity-is/sleekgrid / ViewRange
Interface: ViewRange
Defined in: src/core/viewrange.ts:5
Describes the current view/buffer window that is (or should be) rendered. Row bounds are view indices; column bounds are pixel offsets into the virtual canvas.
Properties
bottom?
optionalbottom:number
Defined in: src/core/viewrange.ts:9
Bottom row index of the range (exclusive or inclusive depending on caller; typically exclusive).
leftPx?
optionalleftPx:number
Defined in: src/core/viewrange.ts:11
Left pixel offset of the visible buffer window.
rightPx?
optionalrightPx:number
Defined in: src/core/viewrange.ts:13
Right pixel offset of the visible buffer window.
top?
optionaltop:number
Defined in: src/core/viewrange.ts:7
Top row index of the range (inclusive).