|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.glib.GObject | +--org.gnu.gdk.Pixbuf
Constructor Summary | |
Pixbuf(int handle)
Constructs a Pixbuf from a handle to native resources. |
|
Pixbuf(java.lang.String filename)
Construct a new Pixbuf from an image file. |
Method Summary | |
int |
height()
Return the height of the pixbuf. |
Pixbuf |
scale(int width,
int height,
InterpType itype)
Create a new pixbuf from an existing pixbuf scaled to the size provided. |
int |
width()
Return the width of the pixbuf. |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Pixbuf(int handle)
public Pixbuf(java.lang.String filename)
filename
- The name of the image file.Method Detail |
public int width()
public int height()
public Pixbuf scale(int width, int height, InterpType itype)
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |