| Modifier and Type | Field and Description |
|---|---|
| private final float | |
| private final int | |
| private final float | |
| public static final Color | |
| public static final Color | |
| private final float | |
| public static final Color | |
| private final float | |
| public static final Color | |
| public static final Color | |
| public static final Color |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object obj)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public float | |
| public float | |
| public float | |
| public float | |
| public float | |
| public int | getIntArgbPre()
Returns this color value (in premultiplied form) packed into an integer in ARGB order. |
| public float | |
| public float | |
| public int | |
| public boolean | |
| public void | putBgraPreBytes(ByteBuffer buf)
Stores the color components (in premultiplied form) of this
|
| public void | putRgbaPreBytes(byte[] arr, int offset)
Stores the color components (in premultiplied form) of this
|
| public String |
| a | back to summary |
|---|---|
| private final float a | |
| argb | back to summary |
|---|---|
| private final int argb | |
| b | back to summary |
|---|---|
| private final float b | |
| BLACK | back to summary |
|---|---|
| public static final Color BLACK | |
| BLUE | back to summary |
|---|---|
| public static final Color BLUE | |
| g | back to summary |
|---|---|
| private final float g | |
| GREEN | back to summary |
|---|---|
| public static final Color GREEN | |
| r | back to summary |
|---|---|
| private final float r | |
| RED | back to summary |
|---|---|
| public static final Color RED | |
| TRANSPARENT | back to summary |
|---|---|
| public static final Color TRANSPARENT | |
| WHITE | back to summary |
|---|---|
| public static final Color WHITE | |
| Color | back to summary |
|---|---|
| public Color(float r, float g, float b, float a) Constructs a new | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getAlpha | back to summary |
|---|---|
| public float getAlpha() Returns the alpha component of this | |
| getBlue | back to summary |
|---|---|
| public float getBlue() Returns the blue component of this | |
| getBluePremult | back to summary |
|---|---|
| public float getBluePremult() Returns the blue component of this | |
| getGreen | back to summary |
|---|---|
| public float getGreen() Returns the green component of this | |
| getGreenPremult | back to summary |
|---|---|
| public float getGreenPremult() Returns the green component of this | |
| getIntArgbPre | back to summary |
|---|---|
| public int getIntArgbPre() Returns this color value (in premultiplied form) packed into an integer in ARGB order. | |
| getRed | back to summary |
|---|---|
| public float getRed() Returns the red component of this | |
| getRedPremult | back to summary |
|---|---|
| public float getRedPremult() Returns the red component of this | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isOpaque | back to summary |
|---|---|
| public boolean isOpaque() Implements abstract com.
| |
| putBgraPreBytes | back to summary |
|---|---|
| public void putBgraPreBytes(ByteBuffer buf) Stores the color components (in premultiplied form) of this
| |
| putRgbaPreBytes | back to summary |
|---|---|
| public void putRgbaPreBytes(byte[] arr, int offset) Stores the color components (in premultiplied form) of this
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |