Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::view::View::BoxShadow Struct Reference

Box shadow (CSS-like: offset, blur, spread, color, inset). More...

#include <view.hpp>

Public Attributes

float offset_x = 0
float offset_y = 2
float blur = 4
float spread = 0
Color color {0, 0, 0, 80}
bool inset = false

Detailed Description

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.

Member Data Documentation

◆ 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