Skip to content

Modern Tui TuiRect Bottom

Paul Squires edited this page Oct 19, 2026 · 6 revisions

Home › Terminal TUI Library › Geometry › TuiRect.Bottom

TuiRect.Bottom

Returns y plus the height: the first row below the bottom edge.

Syntax

TuiRect.Bottom( ) as int32

Description

y + h -- one row past the last one inside the rect.

Example

#import "std/tui"
using tui

dim as TuiRect r = TuiRectOf( 4, 2, 20, 6 )
print r.Bottom( )                 '' 8
print r.Contains( 4, 7 )          '' true
print r.Contains( 4, 8 )          '' false

See also

TuiRect TuiRect.IsEmpty TuiRect.Intersect TuiRect.Equals TuiSize TuiPos
TuiRect.Right TuiRect.Contains TuiRect.Inner TuiRectOf TuiSizeOf TuiMargin

Library: Terminal TUI Library
Category: Terminal TUI Library
Documented under: Geometry
Working examples: hello.tiko · form.tiko · dashboard.tiko


Home · Keyword Index

Clone this wiki locally