webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Friends | List of all members
WebCore::RGBA Class Reference

#include <Color.h>

Public Member Functions

 RGBA ()
 
 RGBA (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha)
 
 RGBA (uint8_t red, uint8_t green, uint8_t blue)
 
uint8_t red () const
 
uint8_t green () const
 
uint8_t blue () const
 
uint8_t alpha () const
 
bool hasAlpha () const
 
 RGBA ()
 
 RGBA (uint8_t red, uint8_t green, uint8_t blue, uint8_t alpha)
 
 RGBA (uint8_t red, uint8_t green, uint8_t blue)
 
uint8_t red () const
 
uint8_t green () const
 
uint8_t blue () const
 
uint8_t alpha () const
 
bool hasAlpha () const
 

Friends

class Color
 

Constructor & Destructor Documentation

◆ RGBA() [1/6]

WebCore::RGBA::RGBA ( )
inline

◆ RGBA() [2/6]

WebCore::RGBA::RGBA ( uint8_t  red,
uint8_t  green,
uint8_t  blue,
uint8_t  alpha 
)
inline

◆ RGBA() [3/6]

WebCore::RGBA::RGBA ( uint8_t  red,
uint8_t  green,
uint8_t  blue 
)
inline

◆ RGBA() [4/6]

WebCore::RGBA::RGBA ( )

◆ RGBA() [5/6]

WebCore::RGBA::RGBA ( uint8_t  red,
uint8_t  green,
uint8_t  blue,
uint8_t  alpha 
)

◆ RGBA() [6/6]

WebCore::RGBA::RGBA ( uint8_t  red,
uint8_t  green,
uint8_t  blue 
)

Member Function Documentation

◆ alpha() [1/2]

uint8_t WebCore::RGBA::alpha ( ) const
inline

◆ alpha() [2/2]

uint8_t WebCore::RGBA::alpha ( ) const

◆ blue() [1/2]

uint8_t WebCore::RGBA::blue ( ) const
inline

◆ blue() [2/2]

uint8_t WebCore::RGBA::blue ( ) const

◆ green() [1/2]

uint8_t WebCore::RGBA::green ( ) const

◆ green() [2/2]

uint8_t WebCore::RGBA::green ( ) const
inline

◆ hasAlpha() [1/2]

bool WebCore::RGBA::hasAlpha ( ) const
inline

◆ hasAlpha() [2/2]

bool WebCore::RGBA::hasAlpha ( ) const

◆ red() [1/2]

uint8_t WebCore::RGBA::red ( ) const

◆ red() [2/2]

uint8_t WebCore::RGBA::red ( ) const
inline

Friends And Related Function Documentation

◆ Color

Color
friend

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