Box shadow (CSS-like: offset, blur, spread, color, inset).
More...
#include <view.hpp>
Box shadow (CSS-like: offset, blur, spread, color, inset).
When inset is true, the shadow is drawn inside the box bounds (CSS inset keyword); otherwise a drop shadow extends outside the bounds.
◆ blur
| float pulp::view::View::BoxShadow::blur = 4 |
◆ color
| Color pulp::view::View::BoxShadow::color {0, 0, 0, 80} |
◆ inset
| bool pulp::view::View::BoxShadow::inset = false |
◆ offset_x
| float pulp::view::View::BoxShadow::offset_x = 0 |
◆ offset_y
| float pulp::view::View::BoxShadow::offset_y = 2 |
◆ spread
| float pulp::view::View::BoxShadow::spread = 0 |
The documentation for this struct was generated from the following file:
- /home/runner/work/pulp/pulp/core/view/include/pulp/view/view.hpp