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

import org.trinitydesktop.qt.TQt;

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

	public TQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas) {
		super((Class) null);
		newTQCanvasSprite(array,canvas);
	}
	private native void newTQCanvasSprite(TQCanvasPixmapArray array, TQCanvas canvas);
	public native void setSequence(TQCanvasPixmapArray 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(TQCanvasItem arg1);
	public native TQRect 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 TQCanvasPixmap image();
	public native TQCanvasPixmap imageAdvanced();
	public native TQCanvasPixmap image(int f);
	public native void advance(int stage);
	public native void draw(TQPainter 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();
}
