public class RenderColorOption extends RenderOption
RenderColorOption
represents a color mode.
This indicates the rendering parameters for
.
COLORMODE
It can be constructed by the following way.
Example:
RenderColorOption option = new RenderColorOption();
Modifier and Type | Field and Description |
---|---|
long |
backColor
Background color.
|
int |
colorMode
Color mode.
|
static int |
COLORMODE_GRAY
Gray color mode: map colors to background/foreground.
|
static int |
COLORMODE_NORMAL
Normal color mode.
|
static int |
COLORMODE_TWOCOLOR
Two color mode: map white/black to background/foreground,
otherwise unchanged.
|
long |
foreColor
Foreground color.
|
COLORMODE
Constructor and Description |
---|
RenderColorOption() |
Modifier and Type | Method and Description |
---|---|
int |
getType()
Get rendering option mode type.
|
public static final int COLORMODE_NORMAL
public static final int COLORMODE_GRAY
public static final int COLORMODE_TWOCOLOR
public int colorMode
Please refer to definitions
and
this should be one of these constants.
COLORMODE_XXX
public long foreColor
public long backColor
public int getType()
RenderOption
getType
in class RenderOption