Rect::BottomSide

Rect::BottomSide
inline Rect<T> BottomSide(T height = 0.0) const;
Description

BottomSide returns a new rectangle representing the bottom of the local rectangle by default. The rectangle holds the same x1, x2, and y2 components as the local rectangle. The placement of the y1 is determined by the equation: (y2 - height).

Parameters
Parameters 
Description 
T height = 0.0 
The value determining the placement of the y1 rectangle component. 
Return Value

A new Rect representing the bottom of the local rectangle by default.