LMMS
Loading...
Searching...
No Matches
juce::ColourHelpers::HSB Struct Reference

Public Member Functions

 HSB (Colour col) noexcept
Colour toColour (Colour original) const noexcept

Static Public Member Functions

static PixelARGB toRGB (float h, float s, float v, uint8 alpha) noexcept

Public Attributes

float hue = 0.0f
float saturation = 0.0f
float brightness = 0.0f

Constructor & Destructor Documentation

◆ HSB()

juce::ColourHelpers::HSB::HSB ( Colour col)
inlinenoexcept

Member Function Documentation

◆ toColour()

Colour juce::ColourHelpers::HSB::toColour ( Colour original) const
inlinenoexcept

◆ toRGB()

PixelARGB juce::ColourHelpers::HSB::toRGB ( float h,
float s,
float v,
uint8 alpha )
inlinestaticnoexcept

Member Data Documentation

◆ brightness

float juce::ColourHelpers::HSB::brightness = 0.0f

◆ hue

float juce::ColourHelpers::HSB::hue = 0.0f

◆ saturation

float juce::ColourHelpers::HSB::saturation = 0.0f

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