public class Color extends Object implements Comparable
Modifier and Type | Field and Description |
---|---|
static Color |
AQUA |
static Color |
BLACK |
static Color |
BLUE |
static Color |
CYAN |
static Color |
GAINSBORO |
static Color |
GRAY |
static Color |
GREEN |
static Color |
LIGHT_GRAY |
static Color |
MAGENTA |
static Color |
RED |
static Color |
WHITE |
static Color |
YELLOW |
Constructor and Description |
---|
Color(int argb) |
Color(int argb,
boolean isAlpha) |
Color(int r,
int g,
int b) |
Color(int a,
int r,
int g,
int b) |
Modifier and Type | Method and Description |
---|---|
Object |
clone() |
Color |
Clone() |
int |
compareTo(Object another) |
boolean |
equals(Object other) |
int |
getAlpha() |
int |
getBlue() |
ColorSpace |
getColorSpace() |
float[] |
getComponents(float[] arr) |
int |
getGreen() |
int |
getRed() |
int |
getRGB() |
String |
toString() |
public static final Color BLACK
public static final Color WHITE
public static final Color LIGHT_GRAY
public static final Color GRAY
public static final Color RED
public static final Color BLUE
public static final Color GREEN
public static final Color AQUA
public static final Color GAINSBORO
public static final Color YELLOW
public static final Color CYAN
public static final Color MAGENTA
public Color(int r, int g, int b)
public Color(int a, int r, int g, int b)
public Color(int argb, boolean isAlpha)
public Color(int argb)
public int getRGB()
public int getRed()
public int getGreen()
public int getBlue()
public int getAlpha()
public int compareTo(Object another)
compareTo
in interface Comparable
public Color Clone()
public ColorSpace getColorSpace()
public float[] getComponents(float[] arr)
Copyright © 2019 Aspose. All Rights Reserved.