色を表すクラス. [詳細]
#include <Color.h>
Public メソッド | |
| Color (int 赤, int 緑, int 青, int 透過率=255) | |
| RGB値から色に変換. [詳細] | |
| void | SetColor (int 赤, int 緑, int 青, int 透過率=255) |
| int | GetRed () const |
| 赤の要素を取得. [詳細] | |
| int | GetGreen () const |
| 緑の要素を取得. [詳細] | |
| int | GetBlue () const |
| 青の要素を取得. [詳細] | |
| int | GetAlpha () const |
| operator ColorData () | |
| bool | operator== (Color 比較色) |
Static Public 変数 | |
| static const Color | Black |
| static const Color | Dilver |
| static const Color | Gray |
| static const Color | White |
| static const Color | Maroon |
| static const Color | Red |
| static const Color | Purple |
| static const Color | Fuchsia |
| static const Color | Green |
| static const Color | Lime |
| static const Color | Olive |
| static const Color | Yellow |
| static const Color | Navy |
| static const Color | Blue |
| static const Color | Teal |
| static const Color | Aqua |
色を表すクラス.
| SDX::Color::Color | ( | int | 赤, |
| int | 緑, | ||
| int | 青, | ||
| int | 透過率 = 255 |
||
| ) |
RGB値から色に変換.
赤、緑、青の各要素は0~255で指定する
| int SDX::Color::GetRed | ( | ) | const |
赤の要素を取得.
| int SDX::Color::GetGreen | ( | ) | const |
緑の要素を取得.
| int SDX::Color::GetBlue | ( | ) | const |
青の要素を取得.
1.8.5