![]() |
Lumino
|
定義済みの色を取得するためのクラスです。 More...
#include <UIColors.hpp>
Static Public Member Functions | |
static const Color & | red (int shades=5) |
色の濃さ (0~9) を指定して、 Red カラーパレットの色を取得します。 | |
static const Color & | pink (int shades=5) |
色の濃さ (0~9) を指定して、 Pink カラーパレットの色を取得します。 | |
static const Color & | purple (int shades=5) |
色の濃さ (0~9) を指定して、 Purple カラーパレットの色を取得します。 | |
static const Color & | deepPurple (int shades=5) |
色の濃さ (0~9) を指定して、 DeepPurple カラーパレットの色を取得します。 | |
static const Color & | indigo (int shades=5) |
色の濃さ (0~9) を指定して、 Indigo カラーパレットの色を取得します。 | |
static const Color & | blue (int shades=5) |
色の濃さ (0~9) を指定して、 Blue カラーパレットの色を取得します。 | |
static const Color & | lightBlue (int shades=5) |
色の濃さ (0~9) を指定して、 LightBlue カラーパレットの色を取得します。 | |
static const Color & | cyan (int shades=5) |
色の濃さ (0~9) を指定して、 Cyan カラーパレットの色を取得します。 | |
static const Color & | teal (int shades=5) |
色の濃さ (0~9) を指定して、 Teal カラーパレットの色を取得します。 | |
static const Color & | green (int shades=5) |
色の濃さ (0~9) を指定して、 Green カラーパレットの色を取得します。 | |
static const Color & | lightGreen (int shades=5) |
色の濃さ (0~9) を指定して、 LightGreen カラーパレットの色を取得します。 | |
static const Color & | lime (int shades=5) |
色の濃さ (0~9) を指定して、 Lime カラーパレットの色を取得します。 | |
static const Color & | yellow (int shades=5) |
色の濃さ (0~9) を指定して、 Yellow カラーパレットの色を取得します。 | |
static const Color & | amber (int shades=5) |
色の濃さ (0~9) を指定して、 Amber カラーパレットの色を取得します。 | |
static const Color & | orange (int shades=5) |
色の濃さ (0~9) を指定して、 Orange カラーパレットの色を取得します。 | |
static const Color & | deepOrange (int shades=5) |
色の濃さ (0~9) を指定して、 DeepOrange カラーパレットの色を取得します。 | |
static const Color & | brown (int shades=5) |
色の濃さ (0~9) を指定して、 Brown カラーパレットの色を取得します。 | |
static const Color & | grey (int shades=5) |
色の濃さ (0~9) を指定して、 Grey カラーパレットの色を取得します。 | |
static const Color & | get (UIColorHues hue, int shades=5) |
カラーインデックスと色の濃さ (0~9) を指定して、色を取得します。 | |
定義済みの色を取得するためのクラスです。
カラーパレットは MaterialDesign の色で定義されています。 https://material.io/design/color/the-color-system.html
MaterialDesign をベースとしていますが、連続的なアクセスを簡単にするため カラーインデックス (引数 shades
) は 0~9 で指定する点に注意してください。