public final class ColorCmy extends Object
Contains the constant values for black, white, red, green, blue, cyan, magenta, and yellow.
Modifier and Type | Field and Description |
---|---|
static ColorCmy |
BLACK
A constant for color black.
|
static ColorCmy |
BLUE
A constant for color blue.
|
double |
C |
static ColorCmy |
CYAN
A constant for color cyan.
|
static ColorCmy |
GREEN
A constant for color green.
|
double |
M |
static ColorCmy |
MAGENTA
A constant for color magenta.
|
static ColorCmy |
RED
A constant for color red.
|
static ColorCmy |
WHITE
A constant for color white.
|
double |
Y |
static ColorCmy |
YELLOW
A constant for color yellow.
|
Constructor and Description |
---|
ColorCmy(double C,
double M,
double Y) |
public static final ColorCmy CYAN
cyan: 100 magenta: 0 yellow: 0
public static final ColorCmy MAGENTA
cyan: 0 magenta: 100 yellow: 0
public static final ColorCmy YELLOW
cyan: 0 magenta: 0 yellow: 100
public static final ColorCmy BLACK
cyan: 100 magenta: 100 yellow: 100
public static final ColorCmy WHITE
cyan: 0 magenta: 0 yellow: 0
public static final ColorCmy RED
cyan: 0 magenta: 100 yellow: 100
public static final ColorCmy GREEN
cyan: 100 magenta: 0 yellow: 100
public static final ColorCmy BLUE
cyan: 100 magenta: 100 yellow: 0
public final double C
public final double M
public final double Y
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.