/***************************************************************************
                            QCanvasSprite.java -  description
                             -------------------
    begin                : Wed Nov 21 17:05:56 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Nov 21 17:05:56 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.qt;

import java.util.*;
import java.lang.Error;

public class QCanvasSprite extends QCanvasItem  {
	protected QCanvasSprite(Class dummy){super((Class) null);}

	private native void newQCanvasSprite( QCanvasPixmapArray array, QCanvas canvas);
	public QCanvasSprite( QCanvasPixmapArray array, QCanvas canvas) {
		super((Class) null);
		newQCanvasSprite( array, canvas);
	}

	public native void setSequence( QCanvasPixmapArray seq);
	protected native void finalize() throws InternalError;
	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();
	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);
	public static final int Cycle = 0;
	public static final int Oscillate = 1;
}
