Lumitronix_Iflex_Pro_Workshop
Library to interact with the iFlexPro
HsbColor Struct Reference

#include <HsbColor.h>

Public Member Functions

 HsbColor (float h, float s, float b)
 
 HsbColor (const RgbColor &color)
 
 HsbColor (const Rgb48Color &color)
 
 HsbColor ()
 

Static Public Member Functions

template<typename T_NEOHUEBLEND >
static HsbColor LinearBlend (const HsbColor &left, const HsbColor &right, float progress)
 
template<typename T_NEOHUEBLEND >
static HsbColor BilinearBlend (const HsbColor &c00, const HsbColor &c01, const HsbColor &c10, const HsbColor &c11, float x, float y)
 

Public Attributes

float H
 
float S
 
float B
 

Constructor & Destructor Documentation

◆ HsbColor() [1/4]

HsbColor::HsbColor ( float  h,
float  s,
float  b 
)
inline

◆ HsbColor() [2/4]

HsbColor::HsbColor ( const RgbColor color)

◆ HsbColor() [3/4]

HsbColor::HsbColor ( const Rgb48Color color)

◆ HsbColor() [4/4]

HsbColor::HsbColor ( )
inline

Member Function Documentation

◆ BilinearBlend()

template<typename T_NEOHUEBLEND >
static HsbColor HsbColor::BilinearBlend ( const HsbColor c00,
const HsbColor c01,
const HsbColor c10,
const HsbColor c11,
float  x,
float  y 
)
inlinestatic

◆ LinearBlend()

template<typename T_NEOHUEBLEND >
static HsbColor HsbColor::LinearBlend ( const HsbColor left,
const HsbColor right,
float  progress 
)
inlinestatic

Member Data Documentation

◆ B

float HsbColor::B

◆ H

float HsbColor::H

◆ S

float HsbColor::S