A single CSS box-shadow layer. More...
#include <design_ir.hpp>
Public Attributes | |
| float | offset_x = 0.0f |
| float | offset_y = 0.0f |
| float | blur = 0.0f |
| float | spread = 0.0f |
| std::string | color |
| raw CSS color token ("#rrggbbaa" or "rgba(...)") | |
| bool | inset = false |
| std::string | raw |
| original layer text, for lossless round-trip | |
A single CSS box-shadow layer.
CSS box-shadow is a comma-separated list of these layers (painted first-to-last, so the first sits on top); IRStyle::box_shadow keeps them in author order; collapsing the declaration into one opaque string would drop every layer past the first, losing the multi-shadow stack.
| float pulp::view::IRBoxShadow::blur = 0.0f |
| std::string pulp::view::IRBoxShadow::color |
raw CSS color token ("#rrggbbaa" or "rgba(...)")
| bool pulp::view::IRBoxShadow::inset = false |
| float pulp::view::IRBoxShadow::offset_x = 0.0f |
| float pulp::view::IRBoxShadow::offset_y = 0.0f |
| std::string pulp::view::IRBoxShadow::raw |
original layer text, for lossless round-trip
| float pulp::view::IRBoxShadow::spread = 0.0f |