diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QRegion.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QRegion.java | 81 |
1 files changed, 81 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QRegion.java b/qtjava/javalib/org/kde/qt/QRegion.java new file mode 100644 index 00000000..85ff09e7 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QRegion.java @@ -0,0 +1,81 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class QRegion implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QRegion(Class dummy){} + + public static final int Rectangle = 0; + public static final int Ellipse = 1; + + public QRegion() { + newQRegion(); + } + private native void newQRegion(); + public QRegion(int x, int y, int w, int h, int arg5) { + newQRegion(x,y,w,h,arg5); + } + private native void newQRegion(int x, int y, int w, int h, int arg5); + public QRegion(int x, int y, int w, int h) { + newQRegion(x,y,w,h); + } + private native void newQRegion(int x, int y, int w, int h); + public QRegion(QRect arg1, int arg2) { + newQRegion(arg1,arg2); + } + private native void newQRegion(QRect arg1, int arg2); + public QRegion(QRect arg1) { + newQRegion(arg1); + } + private native void newQRegion(QRect arg1); + public QRegion(QPointArray arg1, boolean winding) { + newQRegion(arg1,winding); + } + private native void newQRegion(QPointArray arg1, boolean winding); + public QRegion(QPointArray arg1) { + newQRegion(arg1); + } + private native void newQRegion(QPointArray arg1); + public QRegion(QRegion arg1) { + newQRegion(arg1); + } + private native void newQRegion(QRegion arg1); + public QRegion(QBitmap arg1) { + newQRegion(arg1); + } + private native void newQRegion(QBitmap arg1); + public native boolean isNull(); + public native boolean isEmpty(); + public native boolean contains(QPoint p); + public native boolean contains(QRect r); + public native void translate(int dx, int dy); + public native QRegion unite(QRegion arg1); + public native QRegion intersect(QRegion arg1); + public native QRegion subtract(QRegion arg1); + public native QRegion eor(QRegion arg1); + public native QRect boundingRect(); + public native ArrayList rects(); + public native void setRects(QRect arg1, int arg2); + public native QRegion op_or(QRegion arg1); + public native QRegion op_plus(QRegion arg1); + public native QRegion op_and(QRegion arg1); + public native QRegion op_minus(QRegion arg1); + public native QRegion op_xor(QRegion arg1); + public native QRegion op_or_assign(QRegion arg1); + public native QRegion op_plus_assign(QRegion arg1); + public native QRegion op_and_assign(QRegion arg1); + public native QRegion op_minus_assign(QRegion arg1); + public native QRegion op_xor_assign(QRegion arg1); + public native boolean op_equals(QRegion arg1); + public native boolean op_not_equals(QRegion r); + /** 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(); +} |