//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

public class QCanvasSprite extends QCanvasItem  {
	protected QCanvasSprite(Class dummy){super((Class) null);}
	public static final int Cycle = 0;
	public static final int Oscillate = 1;

	public QCanvasSprite(QCanvasPixmapArray array, QCanvas canvas) {
		super((Class) null);
		newQCanvasSprite(array,canvas);
	}
	private native void newQCanvasSprite(QCanvasPixmapArray array, QCanvas canvas);
	public native void setSequence(QCanvasPixmapArray seq);
	public native void move(double x, double y);
	public native void move(double x, double y, int frame);
	public native void setFrame(int arg1);
	public native void setFrameAnimation(int arg1, int step, int state);
	public native void setFrameAnimation(int arg1, int step);
	public native void setFrameAnimation(int arg1);
	public native void setFrameAnimation();
	public native int frame();
	public native int frameCount();
	public native int rtti();
	public native boolean collidesWith(QCanvasItem arg1);
	public native QRect boundingRect();
	public native int width();
	public native int height();
	public native int leftEdge();
	public native int topEdge();
	public native int rightEdge();
	public native int bottomEdge();
	public native int leftEdge(int nx);
	public native int topEdge(int ny);
	public native int rightEdge(int nx);
	public native int bottomEdge(int ny);
	public native QCanvasPixmap image();
	public native QCanvasPixmap imageAdvanced();
	public native QCanvasPixmap image(int f);
	public native void advance(int stage);
	public native void draw(QPainter painter);
	/** Deletes the wrapped C++ instance */
	protected native void finalize() throws InternalError;
	/** Delete the wrapped C++ instance ahead of finalize() */
	public native void dispose();
	/** Has the wrapped C++ instance been deleted? */
	public native boolean isDisposed();
}
