summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QRegion.java
blob: 85ff09e7c0e348efc1cb62e94f1becb73abe2dc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
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();
}