clan::ColorHSLx< Type, ColorType > Class Template Reference

Color HSL description class. More...

#include <color_hsl.h>

Public Member Functions

 ColorHSLx ()
 Constructs a color.
 
 ColorHSLx (const Color &color)
 
 ColorHSLx (const Colorf &color)
 
 ColorHSLx (const ColorHSLx< Type, ColorType > &copy)
 
 ColorHSLx (Type h, Type s, Type l, Type a)
 
 operator ColorType ()
 
bool operator!= (const ColorHSLx< Type, ColorType > &color) const
 != operator.
 
ColorHSLx< Type, ColorType > & operator= (const ColorHSLx< Type, ColorType > &copy)
 = operator.
 
bool operator== (const ColorHSLx< Type, ColorType > &color) const
 == operator.
 

Public Attributes

Type a
 
Type h
 
Type l
 
Type s
 

Detailed Description

template<typename Type, typename ColorType>
class clan::ColorHSLx< Type, ColorType >

Color HSL description class.

These templates are defined for: int (ColorHSLi), float (ColorHSLf), double (ColorHSLd)

Constructor & Destructor Documentation

◆ ColorHSLx() [1/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( )
inline

Constructs a color.

◆ ColorHSLx() [2/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( Type  h,
Type  s,
Type  l,
Type  a 
)
inline

◆ ColorHSLx() [3/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( const ColorHSLx< Type, ColorType > &  copy)
inline

◆ ColorHSLx() [4/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( const Color color)

◆ ColorHSLx() [5/5]

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::ColorHSLx ( const Colorf color)

Member Function Documentation

◆ operator ColorType()

template<typename Type , typename ColorType >
clan::ColorHSLx< Type, ColorType >::operator ColorType ( )

◆ operator!=()

template<typename Type , typename ColorType >
bool clan::ColorHSLx< Type, ColorType >::operator!= ( const ColorHSLx< Type, ColorType > &  color) const
inline

◆ operator=()

template<typename Type , typename ColorType >
ColorHSLx< Type, ColorType > & clan::ColorHSLx< Type, ColorType >::operator= ( const ColorHSLx< Type, ColorType > &  copy)
inline

◆ operator==()

template<typename Type , typename ColorType >
bool clan::ColorHSLx< Type, ColorType >::operator== ( const ColorHSLx< Type, ColorType > &  color) const
inline

Member Data Documentation

◆ a

◆ h

◆ l

◆ s


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