public static class TextFormat.Rgb extends Object
Modifier and Type | Field and Description |
---|---|
static TextFormat.Rgb |
BLACK
The color black.
|
static TextFormat.Rgb |
BLUE
The color blue.
|
static TextFormat.Rgb |
CYAN
The color cyan.
|
static TextFormat.Rgb |
DARK_GRAY
The color dark gray.
|
static TextFormat.Rgb |
GRAY
The color gray.
|
static TextFormat.Rgb |
GREEN
The color green.
|
static TextFormat.Rgb |
LIGHT_GRAY
The color light gray.
|
static TextFormat.Rgb |
MAGENTA
The color magenta.
|
static TextFormat.Rgb |
ORANGE
The color orange.
|
static TextFormat.Rgb |
PINK
The color pink.
|
static TextFormat.Rgb |
RED
The color red.
|
static TextFormat.Rgb |
WHITE
The color white.
|
static TextFormat.Rgb |
YELLOW
The color yellow.
|
Constructor and Description |
---|
Rgb(int redComponent,
int greenComponent,
int blueComponent) |
public static final TextFormat.Rgb BLACK
public static final TextFormat.Rgb BLUE
public static final TextFormat.Rgb CYAN
public static final TextFormat.Rgb DARK_GRAY
public static final TextFormat.Rgb GRAY
public static final TextFormat.Rgb GREEN
public static final TextFormat.Rgb LIGHT_GRAY
public static final TextFormat.Rgb MAGENTA
public static final TextFormat.Rgb ORANGE
public static final TextFormat.Rgb PINK
public static final TextFormat.Rgb RED
public static final TextFormat.Rgb WHITE
public static final TextFormat.Rgb YELLOW
public Rgb(int redComponent, int greenComponent, int blueComponent)
redComponent
- the red component (if less than zero is set to zero)greenComponent
- the green component (if less than zero is set to zero)blueComponent
- the blue component (if less than zero is set to zero)public int getBlue()
public int getGreen()
public int getRed()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013–2019. All rights reserved.