/***************************************************************************
                            QCanvasText.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 QCanvasText extends QCanvasItem  {
	protected QCanvasText(Class dummy){super((Class) null);}

	private native void newQCanvasText( QCanvas canvas);
	public QCanvasText( QCanvas canvas) {
		super((Class) null);
		newQCanvasText( canvas);
	}
	private native void newQCanvasText( String arg1, QCanvas canvas);
	public QCanvasText( String arg1, QCanvas canvas) {
		super((Class) null);
		newQCanvasText( arg1, canvas);
	}
	private native void newQCanvasText( String arg1, QFont arg2, QCanvas canvas);
	public QCanvasText( String arg1, QFont arg2, QCanvas canvas) {
		super((Class) null);
		newQCanvasText( arg1, arg2, canvas);
	}
	protected native void finalize() throws InternalError;
	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);
}
