|
psychic-ui 0.0.0
|
#include <Box.hpp>
Public Member Functions | |
| SkRRect | inset (float amount) const |
| SkRRect | inner () const |
| SkRRect | strokeLine () const |
Static Public Member Functions | |
| static Box | of (const Div &div) |
Public Attributes | |
| SkRRect | outer {} |
| float | border {0} |
A div's border box as a Skia rounded rect, in its own coordinates, from its size and computed radius and border
|
inlinenodiscard |
Inside the border
|
nodiscard |
The border box inset on every side (radii shrink with it)
|
inlinenodiscard |
Where a stroke of the border's width goes to fill the border: its center line