rili::color::LAB Class Reference
Inheritance diagram for rili::color::LAB:
[legend]
Collaboration diagram for rili::color::LAB:
[legend]

Public Member Functions

 LAB (LAB const &other)=default
 
LABoperator= (LAB const &other)=default
 
 LAB (double l, double a, double b)
 
RGB rgb () const override
 
HSL hsl () const override
 
HSV hsv () const override
 
HWB hwb () const override
 
CMYK cmyk () const override
 
XYZ xyz () const override
 
LAB lab () const override
 
LCH lch () const override
 
ANSI16 ansi16 () const override
 
ANSI256 ansi256 () const override
 
HCG hcg () const override
 
GRAY gray () const override
 
CSS css () const override
 

Public Attributes

double lightness
 
double a
 
double b
 

Additional Inherited Members

- Protected Member Functions inherited from rili::Color
 Color (Color const &other)=default
 
Coloroperator= (Color const &other)=default
 

Constructor & Destructor Documentation

rili::color::LAB::LAB ( LAB const &  other)
default

LAB.

Parameters
other
rili::color::LAB::LAB ( double  l,
double  a,
double  b 
)
inline

LAB.

Parameters
l
a
b

Member Function Documentation

ANSI16 rili::color::LAB::ansi16 ( ) const
overridevirtual

ansi16 convert color in current model to ansi 16 color palete

Returns

Implements rili::Color.

ANSI256 rili::color::LAB::ansi256 ( ) const
overridevirtual

ansi256 convert color in current model to ansi 256 color palete

Returns

Implements rili::Color.

CMYK rili::color::LAB::cmyk ( ) const
overridevirtual

cmyk convert color in current model to cmyk

Returns

Implements rili::Color.

CSS rili::color::LAB::css ( ) const
overridevirtual

gray convert color in current model to css named color

Returns

Implements rili::Color.

GRAY rili::color::LAB::gray ( ) const
overridevirtual

gray convert color in current model to gray scale

Returns

Implements rili::Color.

HCG rili::color::LAB::hcg ( ) const
overridevirtual

hcg convert color in current model to hcg

Returns

Implements rili::Color.

HSL rili::color::LAB::hsl ( ) const
overridevirtual

hsl convert color in current model to hsl

Returns

Implements rili::Color.

HSV rili::color::LAB::hsv ( ) const
overridevirtual

hsv convert color in current model to hsv

Returns

Implements rili::Color.

HWB rili::color::LAB::hwb ( ) const
overridevirtual

hwb convert color in current model to hwb

Returns

Implements rili::Color.

LAB rili::color::LAB::lab ( ) const
overridevirtual

lab convert color in current model to lab

Returns

Implements rili::Color.

LCH rili::color::LAB::lch ( ) const
overridevirtual

lch convert color in current model to lch

Returns

Implements rili::Color.

LAB& rili::color::LAB::operator= ( LAB const &  other)
default

operator=

Parameters
other
Returns
RGB rili::color::LAB::rgb ( ) const
overridevirtual

rgb convert color in current model to rgb

Returns

Implements rili::Color.

XYZ rili::color::LAB::xyz ( ) const
overridevirtual

xyz convert color in current model to xyz

Returns

Implements rili::Color.

Member Data Documentation

double rili::color::LAB::a

a

double rili::color::LAB::b

b

double rili::color::LAB::lightness

lightness


The documentation for this class was generated from the following file:
  • rili/Color.hpp