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

import org.kde.qt.Qt;

public class QCanvasText extends QCanvasItem  {
	protected QCanvasText(Class dummy){super((Class) null);}
	public QCanvasText(QCanvas canvas) {
		super((Class) null);
		newQCanvasText(canvas);
	}
	private native void newQCanvasText(QCanvas canvas);
	public QCanvasText(String arg1, QCanvas canvas) {
		super((Class) null);
		newQCanvasText(arg1,canvas);
	}
	private native void newQCanvasText(String arg1, QCanvas canvas);
	public QCanvasText(String arg1, QFont arg2, QCanvas canvas) {
		super((Class) null);
		newQCanvasText(arg1,arg2,canvas);
	}
	private native void newQCanvasText(String arg1, QFont arg2, QCanvas canvas);
	public native void setText(String arg1);
	public native void setFont(QFont arg1);
	public native void setColor(QColor arg1);
	public native String text();
	public native QFont font();
	public native QColor color();
	public native void moveBy(double dx, double dy);
	public native int textFlags();
	public native void setTextFlags(int arg1);
	public native QRect boundingRect();
	public native boolean collidesWith(QCanvasItem arg1);
	public native int rtti();
	public native void draw(QPainter arg1);
	/** 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();
}
