|
| Color (int r, int g, int b, int a=255) noexcept |
|
int & | red () noexcept |
|
int & | green () noexcept |
|
int & | blue () noexcept |
|
int & | alpha () noexcept |
|
const int & | red () const noexcept |
|
const int & | green () const noexcept |
|
const int & | blue () const noexcept |
|
const int & | alpha () const noexcept |
|
Color | withoutAlpha () const noexcept |
| 获取移除了alpha通道的颜色
|
|
Color | gray () const noexcept |
| 获取灰度颜色
|
|
bool | operator== (const Color &other) const noexcept |
|
bool | operator!= (const Color &other) const noexcept |
|
| Object () noexcept |
| 构造函数
|
|
virtual | ~Object () noexcept |
| 析构函数
|
|