#include <builders.hpp>
◆ RectangleBuilder()
| epaper::RectangleBuilder::RectangleBuilder |
( |
| ) |
|
|
defaultnoexcept |
◆ at() [1/2]
◆ at() [2/2]
| auto epaper::RectangleBuilder::at |
( |
std::size_t |
x, |
|
|
std::size_t |
y |
|
) |
| -> RectangleBuilder & |
|
inlinenoexcept |
Set the position using coordinates.
- Parameters
-
| x | X coordinate |
| y | Y coordinate |
- Returns
- Reference to this builder for chaining
◆ border_width()
◆ bottom_right() [1/2]
◆ bottom_right() [2/2]
| auto epaper::RectangleBuilder::bottom_right |
( |
std::size_t |
x, |
|
|
std::size_t |
y |
|
) |
| -> RectangleBuilder & |
|
inlinenoexcept |
Set the bottom-right corner using coordinates.
- Parameters
-
| x | Bottom-right X coordinate |
| y | Bottom-right Y coordinate |
- Returns
- Reference to this builder for chaining
◆ build()
◆ color()
◆ fill()
◆ size() [1/2]
Set the size of the rectangle.
This method calculates the bottom-right corner based on the current top-left position and the specified size.
- Parameters
-
- Returns
- Reference to this builder for chaining
- Examples
- /mnt/nas/libepaper/include/epaper/draw/builders.hpp.
◆ size() [2/2]
| auto epaper::RectangleBuilder::size |
( |
std::size_t |
w, |
|
|
std::size_t |
h |
|
) |
| -> RectangleBuilder & |
|
inlinenoexcept |
Set the size using width and height.
- Parameters
-
- Returns
- Reference to this builder for chaining
◆ top_left() [1/2]
◆ top_left() [2/2]
| auto epaper::RectangleBuilder::top_left |
( |
std::size_t |
x, |
|
|
std::size_t |
y |
|
) |
| -> RectangleBuilder & |
|
inlinenoexcept |
Set the top-left corner using coordinates.
- Parameters
-
| x | Top-left X coordinate |
| y | Top-left Y coordinate |
- Returns
- Reference to this builder for chainingsrc include/epaper
◆ with_style()
The documentation for this class was generated from the following file: