summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QCanvasSprite.java
blob: 817414679980cdd0c1d2c3377eba0227e5545b7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//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();
}