org.gnu.gdk
Class PixbufAnimation

java.lang.Object
  |
  +--org.gnu.glib.Boxed
        |
        +--org.gnu.gdk.PixbufAnimation

public class PixbufAnimation
extends Boxed


Constructor Summary
PixbufAnimation(int handle)
          Create a new pixbuf from a handle to a native resource.
PixbufAnimation(java.lang.String filename)
          Construct a new Pixbuf animation from an image file.
 
Method Summary
 int height()
          Return the height of the pixbuf.
 int width()
          Return the width of the pixbuf.
 
Methods inherited from class org.gnu.glib.Boxed
equals, getHandle
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PixbufAnimation

public PixbufAnimation(java.lang.String filename)
Construct a new Pixbuf animation from an image file.

Parameters:
filename - The name of the image file.

PixbufAnimation

public PixbufAnimation(int handle)
Create a new pixbuf from a handle to a native resource. For internal use.

Parameters:
handle - The handle to the native resoufce
Method Detail

width

public int width()
Return the width of the pixbuf.

Returns:
The width

height

public int height()
Return the height of the pixbuf.

Returns:
The height

Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net