OpenLexocad  27.1
Base::MColor Class Reference

#include <Color.h>

Public Member Functions

 MColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
 
 MColor ()
 
 MColor (const Base::Color &c)
 
unsigned char red () const
 
unsigned char green () const
 
unsigned char blue () const
 
unsigned char alpha () const
 
bool operator== (const MColor &c) const
 
bool operator!= (const MColor &c) const
 
size_t hash () const
 

Public Attributes

unsigned char r
 
unsigned char g
 
unsigned char b
 
unsigned char a
 

Constructor & Destructor Documentation

◆ MColor() [1/3]

Base::MColor::MColor ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a 
)

◆ MColor() [2/3]

Base::MColor::MColor ( )

◆ MColor() [3/3]

Base::MColor::MColor ( const Base::Color c)
explicit

Member Function Documentation

◆ alpha()

unsigned char Base::MColor::alpha ( ) const

◆ blue()

unsigned char Base::MColor::blue ( ) const

◆ green()

unsigned char Base::MColor::green ( ) const

◆ hash()

size_t Base::MColor::hash ( ) const

◆ operator!=()

bool Base::MColor::operator!= ( const MColor c) const

◆ operator==()

bool Base::MColor::operator== ( const MColor c) const

◆ red()

unsigned char Base::MColor::red ( ) const

Member Data Documentation

◆ a

unsigned char Base::MColor::a

◆ b

unsigned char Base::MColor::b

◆ g

unsigned char Base::MColor::g

◆ r

unsigned char Base::MColor::r

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