|
| Borders (float size=0) |
| Default constructor.
|
|
| Borders (float leftBorderWidth, float topBorderHeight, float rightBorderWidth, float bottomBorderHeight) |
| Constructor that initializes the borders. More...
|
|
| Borders (float width, float height) |
| Constructor that initializes the borders. More...
|
|
bool | operator== (const Borders &borders) const |
| Compare two borders. More...
|
|
bool | operator!= (const Borders &borders) const |
| Compare two borders. More...
|
|
|
float | left |
| Width of the left border.
|
|
float | top |
| Height of the top border.
|
|
float | right |
| Width of the right border.
|
|
float | bottom |
| Height of the bottom border.
|
|
◆ Borders() [1/2]
tgui::Borders::Borders |
( |
float |
leftBorderWidth, |
|
|
float |
topBorderHeight, |
|
|
float |
rightBorderWidth, |
|
|
float |
bottomBorderHeight |
|
) |
| |
|
inline |
Constructor that initializes the borders.
- Parameters
-
leftBorderWidth | Width of the left border |
topBorderHeight | Height of the top border |
rightBorderWidth | Width of the right border |
bottomBorderHeight | Height of the bottom border |
◆ Borders() [2/2]
tgui::Borders::Borders |
( |
float |
width, |
|
|
float |
height |
|
) |
| |
|
inline |
Constructor that initializes the borders.
- Parameters
-
width | Width of the left and right borders |
height | Height of the top and bottom borders |
◆ operator!=()
bool tgui::Borders::operator!= |
( |
const Borders & |
borders | ) |
const |
|
inline |
Compare two borders.
- Parameters
-
borders | The borders to compare with this instance |
- Returns
- Whether the borders are equal or not.
◆ operator==()
bool tgui::Borders::operator== |
( |
const Borders & |
borders | ) |
const |
|
inline |
Compare two borders.
- Parameters
-
borders | The borders to compare with this instance |
- Returns
- Whether the borders are equal or not.
The documentation for this class was generated from the following file: