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

import org.trinitydesktop.qt.TQt;

public class TQCanvasRectangle extends TQCanvasPolygonalItem  {
	protected TQCanvasRectangle(Class dummy){super((Class) null);}
	public TQCanvasRectangle(TQCanvas canvas) {
		super((Class) null);
		newTQCanvasRectangle(canvas);
	}
	private native void newTQCanvasRectangle(TQCanvas canvas);
	public TQCanvasRectangle(TQRect arg1, TQCanvas canvas) {
		super((Class) null);
		newTQCanvasRectangle(arg1,canvas);
	}
	private native void newTQCanvasRectangle(TQRect arg1, TQCanvas canvas);
	public TQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas) {
		super((Class) null);
		newTQCanvasRectangle(x,y,width,height,canvas);
	}
	private native void newTQCanvasRectangle(int x, int y, int width, int height, TQCanvas canvas);
	public native int width();
	public native int height();
	public native void setSize(int w, int h);
	public native TQSize size();
	public native TQPointArray areaPoints();
	public native TQRect rect();
	public native boolean collidesWith(TQCanvasItem arg1);
	public native int rtti();
	protected native void drawShape(TQPainter arg1);
	protected native TQPointArray chunks();
	/** 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();
}
