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

Public Member Functions

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

Static Public Member Functions

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

Public Attributes

float hue = 0.0f
float saturation = 0.0f
float lightness = 0.0f

Constructor & Destructor Documentation

◆ HSL()

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

Member Function Documentation

◆ toColour()

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

◆ toRGB()

PixelARGB juce::ColourHelpers::HSL::toRGB ( float h,
float s,
float l,
uint8 alpha )
inlinestaticnoexcept

Member Data Documentation

◆ hue

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

◆ lightness

float juce::ColourHelpers::HSL::lightness = 0.0f

◆ saturation

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

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