|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Boxed
org.gnu.pango.Color
The PangoColor structure is used to represent a color in an uncalibrated RGB colorspace.
Field Summary |
Fields inherited from class org.gnu.glib.Boxed |
handle |
Constructor Summary | |
|
Color(Color color)
Create a new Color that is a copy of the provided color. |
protected |
Color(Handle handle)
|
Method Summary | |
protected void |
finalize()
|
int |
getBlue()
Returns the Blue component of the color. |
protected static int |
getBlue(Handle obj)
|
int |
getGreen()
Returns the Green component of the color. |
protected static int |
getGreen(Handle obj)
|
int |
getRed()
Returns the red component of the color. |
protected static int |
getRed(Handle obj)
|
protected static Handle |
pango_color_copy(Handle src)
|
protected static void |
pango_color_free(Handle color)
|
protected static int |
pango_color_get_type()
|
protected static boolean |
pango_color_parse(Handle color,
java.lang.String spec)
|
boolean |
setColor(java.lang.String spec)
Fill in the fields of a color from a string specification. |
Methods inherited from class org.gnu.glib.Boxed |
equals, getHandle, hashCode, setHandle |
Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Color(Color color)
color
- protected Color(Handle handle)
Method Detail |
public int getRed()
public int getGreen()
public int getBlue()
public boolean setColor(java.lang.String spec)
spec
- A string specifying the new color
protected void finalize() throws java.lang.Throwable
java.lang.Throwable
protected static final int getRed(Handle obj)
protected static final int getGreen(Handle obj)
protected static final int getBlue(Handle obj)
protected static final int pango_color_get_type()
protected static final Handle pango_color_copy(Handle src)
protected static final void pango_color_free(Handle color)
protected static final boolean pango_color_parse(Handle color, java.lang.String spec)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |