|
java-gnome version 4.1.2 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectorg.freedesktop.bindings.Pointer
org.gnome.glib.Boxed
org.gnome.gdk.RGBA
public final class RGBA
Representation of an RGB colour. Used by GDK in drawing Widgets and related elements.
Field Summary | |
---|---|
static RGBA |
BLACK
|
static RGBA |
BLUE
|
static RGBA |
GREEN
|
static RGBA |
RED
|
static RGBA |
WHITE
|
Constructor Summary | |
---|---|
RGBA(double red,
double green,
double blue,
double alpha)
Construct a new RGBA object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
double |
getAlpha()
Get the blue component of this Color. |
double |
getBlue()
Get the blue component of this Color. |
double |
getGreen()
Get the green component of this Color. |
double |
getRed()
Get the red component of this Color. |
int |
hashCode()
|
Methods inherited from class org.freedesktop.bindings.Pointer |
---|
toString |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final RGBA BLACK
public static final RGBA BLUE
public static final RGBA GREEN
public static final RGBA RED
public static final RGBA WHITE
Constructor Detail |
---|
public RGBA(double red, double green, double blue, double alpha)
red
, green
,
blue
and alpha
parameters take values
0.0
to 1.0
.
Method Detail |
---|
public boolean equals(Object obj)
equals
in class Object
public double getAlpha()
public double getBlue()
public double getGreen()
public double getRed()
public int hashCode()
hashCode
in class Object
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |