Terminal++ 3.1.0.4
A C++ library for interacting with ANSI terminal windows
|
A class that represents a rectangle in space. More...
#include <rectangle.hpp>
Public Member Functions | |
constexpr | rectangle () noexcept=default |
Default Constructor. | |
constexpr | rectangle (terminalpp::point origin, terminalpp::extent size) noexcept |
Constructor. | |
Public Attributes | |
terminalpp::point | origin_ |
The origin (top-left point) of the rectangle. | |
terminalpp::extent | size_ |
The size (amount the rectangle extends right and down) of the rectangle. | |
Friends | |
constexpr friend auto | operator<=> (rectangle const &lhs, rectangle const &rhs) noexcept=default |
Relational operators for rectangles. | |
A class that represents a rectangle in space.
|
constexprdefaultnoexcept |
Default Constructor.
|
inlineconstexprnoexcept |
Constructor.