Skip to content

bottom

ts
function Rect.bottom(rect: Rect): number

Gets the bottom y-coordinate of a rectangle.

Example

ts
Rect.bottom({ left: 10, top: 20, width: 100, height: 50 });
// 70
ts
pipe({ left: 10, top: 20, width: 100, height: 50 }, Rect.bottom());
// 70