TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
tachyon::VisualShadow Struct Reference

A BoxShadow in pixels with its color registered. No color is no shadow. More...

#include <gui_core/style/gui_style.h>

Public Member Functions

constexpr bool IsNone () const
 No color: no shadow.
bool operator== (const VisualShadow &) const noexcept=default

Public Attributes

int16_t x = 0
 see BoxShadow, in pixels
int16_t y = 0
uint16_t blur = 0
int16_t spread = 0
VisualColorStyleIndex color = VisualColorStyleIndex::Invalid

Detailed Description

A BoxShadow in pixels with its color registered. No color is no shadow.

Member Function Documentation

◆ IsNone()

bool tachyon::VisualShadow::IsNone ( ) const
inlineconstexpr

No color: no shadow.

◆ operator==()

bool tachyon::VisualShadow::operator== ( const VisualShadow & ) const
defaultnoexcept

Member Data Documentation

◆ x

int16_t tachyon::VisualShadow::x = 0

see BoxShadow, in pixels

◆ y

int16_t tachyon::VisualShadow::y = 0

◆ blur

uint16_t tachyon::VisualShadow::blur = 0

◆ spread

int16_t tachyon::VisualShadow::spread = 0

◆ color

VisualColorStyleIndex tachyon::VisualShadow::color = VisualColorStyleIndex::Invalid

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