Hot Door CORE 0.8.2
Adobe® Illustrator® Plug-in Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
hdi::core::ArtColor::Channels::Lab Struct Reference

Describes a set of Lab channels. More...

#include <hdicoreArtColor.h>

Public Member Functions

 Lab ()
 Constructs a Lab object with default values.
 
 Lab (const Lab &obj_)
 Constructs a new Lab object from an existing Lab.
 
 Lab (const double l_, const double a_, const double b_)
 Constructs a new Lab object with the given values.
 
virtual ~Lab ()
 Destructs a Lab object.
 
Laboperator= (const Lab &rhs_)
 Lab assignment operator.
 
bool operator== (const Lab &rhs_) const
 Tests whether a given Lab object is the same as another.
 
bool operator!= (const Lab &rhs_) const
 Tests whether a given Lab object is not the same as another.
 

Public Attributes

double lightness
 Stores the Lab color lightness channel, in the range [0.0,1.0].
 
double a
 Stores the Lab color a-dimension channel, in the range [-1.0,1.0].
 
double b
 Stores the Lab color b-dimension channel, in the range [-1.0,1.0].
 

Detailed Description

Describes a set of Lab channels.

Constructor & Destructor Documentation

◆ Lab() [1/3]

hdi::core::ArtColor::Channels::Lab::Lab ( )

Constructs a Lab object with default values.

Author
GW
Date
07/2014

◆ Lab() [2/3]

hdi::core::ArtColor::Channels::Lab::Lab ( const Lab obj_)

Constructs a new Lab object from an existing Lab.

Author
GW
Date
07/2014
Parameters
obj_Existing Lab object to copy values from

◆ Lab() [3/3]

hdi::core::ArtColor::Channels::Lab::Lab ( const double  l_,
const double  a_,
const double  b_ 
)

Constructs a new Lab object with the given values.

Author
GW
Date
07/2014
Parameters
l_(See lightness member description)
a_(See a member description)
b_(See b member description)

◆ ~Lab()

virtual hdi::core::ArtColor::Channels::Lab::~Lab ( )
virtual

Destructs a Lab object.

Author
GW
Date
07/2014

Member Function Documentation

◆ operator!=()

bool hdi::core::ArtColor::Channels::Lab::operator!= ( const Lab rhs_) const

Tests whether a given Lab object is not the same as another.

Author
GW
Date
03/2015
Parameters
rhs_Lab to compare against (righthand side of inequality operator)
Returns
true for the target and rhs_ being different colors, false otherwise

◆ operator=()

Lab & hdi::core::ArtColor::Channels::Lab::operator= ( const Lab rhs_)

Lab assignment operator.

Author
GW
Date
07/2014
Parameters
rhs_Existing Lab object to copy values from (righthand side of the assignment operator)
Returns
The target Lab object, but with its values updated

◆ operator==()

bool hdi::core::ArtColor::Channels::Lab::operator== ( const Lab rhs_) const

Tests whether a given Lab object is the same as another.

Author
GW
Date
03/2015
Parameters
rhs_Lab to compare against (righthand side of equality operator)
Returns
true for the target and rhs_ being the same colors, false otherwise