//Auto-generated by kalyptus. DO NOT EDIT. package org.kde.qt; import org.kde.qt.Qt; public class QCanvasRectangle extends QCanvasPolygonalItem { protected QCanvasRectangle(Class dummy){super((Class) null);} public QCanvasRectangle(QCanvas canvas) { super((Class) null); newQCanvasRectangle(canvas); } private native void newQCanvasRectangle(QCanvas canvas); public QCanvasRectangle(QRect arg1, QCanvas canvas) { super((Class) null); newQCanvasRectangle(arg1,canvas); } private native void newQCanvasRectangle(QRect arg1, QCanvas canvas); public QCanvasRectangle(int x, int y, int width, int height, QCanvas canvas) { super((Class) null); newQCanvasRectangle(x,y,width,height,canvas); } private native void newQCanvasRectangle(int x, int y, int width, int height, QCanvas canvas); public native int width(); public native int height(); public native void setSize(int w, int h); public native QSize size(); public native QPointArray areaPoints(); public native QRect rect(); public native boolean collidesWith(QCanvasItem arg1); public native int rtti(); protected native void drawShape(QPainter arg1); protected native QPointArray 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(); }