JUCE  v5.1.1-3-g1a0b28c73
JUCE API
ColourGradient::ColourPoint Struct Reference
Collaboration diagram for ColourGradient::ColourPoint:

Public Member Functions

 ColourPoint () noexcept
 
 ColourPoint (const double pos, Colour col) noexcept
 
bool operator!= (const ColourPoint &) const noexcept
 
bool operator== (const ColourPoint &) const noexcept
 

Public Attributes

Colour colour
 
double position
 

Constructor & Destructor Documentation

◆ ColourPoint() [1/2]

ColourGradient::ColourPoint::ColourPoint ( )
inlinenoexcept

◆ ColourPoint() [2/2]

ColourGradient::ColourPoint::ColourPoint ( const double  pos,
Colour  col 
)
inlinenoexcept

References operator!=(), and operator==().

Member Function Documentation

◆ operator!=()

bool ColourGradient::ColourPoint::operator!= ( const ColourPoint ) const
noexcept

◆ operator==()

bool ColourGradient::ColourPoint::operator== ( const ColourPoint ) const
noexcept

Member Data Documentation

◆ colour

Colour ColourGradient::ColourPoint::colour

◆ position

double ColourGradient::ColourPoint::position

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