Per-corner values (border radius).
More...
#include <gui_core/style/gui_style.h>
|
| constexpr | BoxCorners ()=default |
| constexpr | BoxCorners (uint16_t all) |
| | All four corners the same.
|
| constexpr | BoxCorners (uint16_t tl, uint16_t tr, uint16_t br, uint16_t bl) |
| | In CSS order: top-left, top-right, bottom-right, bottom-left.
|
| constexpr bool | IsZero () const |
| | All corners are 0 (square).
|
| bool | operator== (const BoxCorners &) const noexcept=default |
Per-corner values (border radius).
◆ BoxCorners() [1/3]
| tachyon::BoxCorners::BoxCorners |
( |
| ) |
|
|
constexprdefault |
◆ BoxCorners() [2/3]
| tachyon::BoxCorners::BoxCorners |
( |
uint16_t | all | ) |
|
|
inlineconstexpr |
All four corners the same.
◆ BoxCorners() [3/3]
| tachyon::BoxCorners::BoxCorners |
( |
uint16_t | tl, |
|
|
uint16_t | tr, |
|
|
uint16_t | br, |
|
|
uint16_t | bl ) |
|
inlineconstexpr |
In CSS order: top-left, top-right, bottom-right, bottom-left.
◆ IsZero()
| bool tachyon::BoxCorners::IsZero |
( |
| ) |
const |
|
inlineconstexpr |
All corners are 0 (square).
◆ operator==()
| bool tachyon::BoxCorners::operator== |
( |
const BoxCorners & | | ) |
const |
|
defaultnoexcept |
◆ topLeft
| uint16_t tachyon::BoxCorners::topLeft = 0 |
◆ topRight
| uint16_t tachyon::BoxCorners::topRight = 0 |
◆ bottomRight
| uint16_t tachyon::BoxCorners::bottomRight = 0 |
◆ bottomLeft
| uint16_t tachyon::BoxCorners::bottomLeft = 0 |
The documentation for this struct was generated from the following file: