morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
morph::ui::ThemeShadowSpec Struct Reference

A shadow token's default, in the form a constexpr table can hold. More...

#include <theme.hpp>

Public Attributes

std::string_view color
 The colour, #rrggbbaa.
double offsetX = 0.0
 The horizontal offset, in px.
double offsetY = 0.0
 The vertical offset, in px.
double blur = 0.0
 The blur radius, in px.
double spread = 0.0
 The spread, in px.

Detailed Description

A shadow token's default, in the form a constexpr table can hold.

Definition at line 957 of file theme.hpp.

Member Data Documentation

◆ color

std::string_view morph::ui::ThemeShadowSpec::color

The colour, #rrggbbaa.

Definition at line 959 of file theme.hpp.

◆ offsetX

double morph::ui::ThemeShadowSpec::offsetX = 0.0

The horizontal offset, in px.

Definition at line 961 of file theme.hpp.

◆ offsetY

double morph::ui::ThemeShadowSpec::offsetY = 0.0

The vertical offset, in px.

Definition at line 963 of file theme.hpp.

◆ blur

double morph::ui::ThemeShadowSpec::blur = 0.0

The blur radius, in px.

Definition at line 965 of file theme.hpp.

◆ spread

double morph::ui::ThemeShadowSpec::spread = 0.0

The spread, in px.

Definition at line 967 of file theme.hpp.


The documentation for this struct was generated from the following file: