Wrapper around properties for managing a rect by flex_layout().
More...
#include <layout.h>
|
| LayoutRect (uint32_t b, const Rect &r, std::string s, uint32_t lm=0, uint32_t tm=0, uint32_t rm=0, uint32_t bm=0) noexcept |
|
| LayoutRect (uint32_t b, const Rect &r, uint32_t lm=0, uint32_t tm=0, uint32_t rm=0, uint32_t bm=0) noexcept |
|
|
uint32_t | behave {0} |
| Behavior flags of the object.
|
|
uint32_t | bmargin {0} |
| Bottom margin.
|
|
uint32_t | lmargin {0} |
| Left margin.
|
|
Rect | rect |
| Rectangle if the object.
|
|
uint32_t | rmargin {0} |
| Right margin.
|
|
std::string | str |
| String content of the object.
|
|
uint32_t | tmargin {0} |
| Top margin.
|
|
Wrapper around properties for managing a rect by flex_layout().
◆ LayoutRect() [1/2]
LayoutRect |
( |
uint32_t |
b, |
|
|
const Rect & |
r, |
|
|
uint32_t |
lm = 0 , |
|
|
uint32_t |
tm = 0 , |
|
|
uint32_t |
rm = 0 , |
|
|
uint32_t |
bm = 0 |
|
) |
| |
|
inlinenoexcept |
- Parameters
-
[in] | b | Behave flags. |
[in] | r | Current rectangle. |
[in] | lm | Left margin. |
[in] | tm | Top margin. |
[in] | rm | Right margin. |
[in] | bm | Bottom margin. |
◆ LayoutRect() [2/2]
LayoutRect |
( |
uint32_t |
b, |
|
|
const Rect & |
r, |
|
|
std::string |
s, |
|
|
uint32_t |
lm = 0 , |
|
|
uint32_t |
tm = 0 , |
|
|
uint32_t |
rm = 0 , |
|
|
uint32_t |
bm = 0 |
|
) |
| |
|
inlinenoexcept |
- Parameters
-
[in] | b | Behave flags. |
[in] | r | Current rectangle. |
[in] | s | String of the object. |
[in] | lm | Left margin. |
[in] | tm | Top margin. |
[in] | rm | Right margin. |
[in] | bm | Bottom margin. |
◆ behave
Behavior flags of the object.
◆ bmargin
◆ lmargin
◆ rect
◆ rmargin
◆ str
String content of the object.
◆ tmargin