io.qt.core.QRect Maven / Gradle / Ivy
package io.qt.core;
/**
* Defines a rectangle in the plane using integer precision
* Java wrapper for Qt class QRect
*/
public class QRect extends io.qt.QtObject
implements java.lang.Cloneable
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* See QRect::QRect()
*/
public QRect(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QRect instance);
/**
* See QRect::QRect(QPoint,QPoint)
*/
public QRect(io.qt.core.QPoint topleft, io.qt.core.QPoint bottomright){
super((QPrivateConstructor)null);
initialize_native(this, topleft, bottomright);
}
private native static void initialize_native(QRect instance, io.qt.core.QPoint topleft, io.qt.core.QPoint bottomright);
/**
* See QRect::QRect(QPoint,QSize)
*/
public QRect(io.qt.core.QPoint topleft, io.qt.core.QSize size){
super((QPrivateConstructor)null);
initialize_native(this, topleft, size);
}
private native static void initialize_native(QRect instance, io.qt.core.QPoint topleft, io.qt.core.QSize size);
/**
* See QRect::QRect(int,int,int,int)
*/
public QRect(int left, int top, int width, int height){
super((QPrivateConstructor)null);
initialize_native(this, left, top, width, height);
}
private native static void initialize_native(QRect instance, int left, int top, int width, int height);
/**
* See QRect::adjust(int,int,int,int)
*/
@io.qt.QtUninvokable
public final void adjust(int x1, int y1, int x2, int y2){
adjust_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x1, y1, x2, y2);
}
@io.qt.QtUninvokable
private native void adjust_native_int_int_int_int(long __this__nativeId, int x1, int y1, int x2, int y2);
/**
* See QRect::adjusted(int,int,int,int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect adjusted(int x1, int y1, int x2, int y2){
return adjusted_native_int_int_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x1, y1, x2, y2);
}
@io.qt.QtUninvokable
private native io.qt.core.QRect adjusted_native_int_int_int_int_constfct(long __this__nativeId, int x1, int y1, int x2, int y2);
/**
*
*/
@io.qt.QtUninvokable
public final int bottom(){
return bottom_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int bottom_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint bottomLeft(){
return bottomLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint bottomLeft_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint bottomRight(){
return bottomRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint bottomRight_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint center(){
return center_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint center_native_constfct(long __this__nativeId);
/**
* Overloaded function for {@link #contains(io.qt.core.QPoint, boolean)}
* with proper = false
.
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.core.QPoint p) {
return contains(p, (boolean)false);
}
/**
* See QRect::contains(QPoint,bool)const
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.core.QPoint p, boolean proper){
return contains_native_cref_QPoint_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p), proper);
}
@io.qt.QtUninvokable
private native boolean contains_native_cref_QPoint_bool_constfct(long __this__nativeId, long p, boolean proper);
/**
* Overloaded function for {@link #contains(io.qt.core.QRect, boolean)}
* with proper = false
.
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.core.QRect r) {
return contains(r, (boolean)false);
}
/**
* See QRect::contains(QRect,bool)const
*/
@io.qt.QtUninvokable
public final boolean contains(io.qt.core.QRect r, boolean proper){
return contains_native_cref_QRect_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r), proper);
}
@io.qt.QtUninvokable
private native boolean contains_native_cref_QRect_bool_constfct(long __this__nativeId, long r, boolean proper);
/**
* See QRect::contains(int,int)const
*/
@io.qt.QtUninvokable
public final boolean contains(int x, int y){
return contains_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@io.qt.QtUninvokable
private native boolean contains_native_int_int_constfct(long __this__nativeId, int x, int y);
/**
* See QRect::contains(int,int,bool)const
*/
@io.qt.QtUninvokable
public final boolean contains(int x, int y, boolean proper){
return contains_native_int_int_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, proper);
}
@io.qt.QtUninvokable
private native boolean contains_native_int_int_bool_constfct(long __this__nativeId, int x, int y, boolean proper);
/**
*
*/
@io.qt.QtUninvokable
public final int height(){
return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int height_native_constfct(long __this__nativeId);
/**
* See QRect::intersected(QRect)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect intersected(io.qt.core.QRect other){
return intersected_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect intersected_native_cref_QRect_constfct(long __this__nativeId, long other);
/**
* See QRect::intersects(QRect)const
*/
@io.qt.QtUninvokable
public final boolean intersects(io.qt.core.QRect r){
return intersects_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r));
}
@io.qt.QtUninvokable
private native boolean intersects_native_cref_QRect_constfct(long __this__nativeId, long r);
/**
*
*/
@io.qt.QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final int left(){
return left_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int left_native_constfct(long __this__nativeId);
/**
* See QRect::marginsAdded(QMargins)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect marginsAdded(io.qt.core.QMargins margins){
return marginsAdded_native_cref_QMargins_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect marginsAdded_native_cref_QMargins_constfct(long __this__nativeId, long margins);
/**
* See QRect::marginsRemoved(QMargins)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect marginsRemoved(io.qt.core.QMargins margins){
return marginsRemoved_native_cref_QMargins_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect marginsRemoved_native_cref_QMargins_constfct(long __this__nativeId, long margins);
/**
*
*/
@io.qt.QtUninvokable
public final void moveBottom(int pos){
moveBottom_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void moveBottom_native_int(long __this__nativeId, int pos);
/**
* See QRect::moveBottomLeft(QPoint)
*/
@io.qt.QtUninvokable
public final void moveBottomLeft(io.qt.core.QPoint p){
moveBottomLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void moveBottomLeft_native_cref_QPoint(long __this__nativeId, long p);
/**
* See QRect::moveBottomRight(QPoint)
*/
@io.qt.QtUninvokable
public final void moveBottomRight(io.qt.core.QPoint p){
moveBottomRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void moveBottomRight_native_cref_QPoint(long __this__nativeId, long p);
/**
*
*/
@io.qt.QtUninvokable
public final void moveCenter(io.qt.core.QPoint p){
moveCenter_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void moveCenter_native_cref_QPoint(long __this__nativeId, long p);
/**
*
*/
@io.qt.QtUninvokable
public final void moveLeft(int pos){
moveLeft_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void moveLeft_native_int(long __this__nativeId, int pos);
/**
*
*/
@io.qt.QtUninvokable
public final void moveRight(int pos){
moveRight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void moveRight_native_int(long __this__nativeId, int pos);
/**
*
*/
@io.qt.QtUninvokable
public final void moveTo(io.qt.core.QPoint p){
moveTo_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void moveTo_native_cref_QPoint(long __this__nativeId, long p);
/**
*
*/
@io.qt.QtUninvokable
public final void moveTo(int x, int t){
moveTo_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x, t);
}
@io.qt.QtUninvokable
private native void moveTo_native_int_int(long __this__nativeId, int x, int t);
/**
*
*/
@io.qt.QtUninvokable
public final void moveTop(int pos){
moveTop_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void moveTop_native_int(long __this__nativeId, int pos);
/**
* See QRect::moveTopLeft(QPoint)
*/
@io.qt.QtUninvokable
public final void moveTopLeft(io.qt.core.QPoint p){
moveTopLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void moveTopLeft_native_cref_QPoint(long __this__nativeId, long p);
/**
* See QRect::moveTopRight(QPoint)
*/
@io.qt.QtUninvokable
public final void moveTopRight(io.qt.core.QPoint p){
moveTopRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void moveTopRight_native_cref_QPoint(long __this__nativeId, long p);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect normalized(){
return normalized_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect normalized_native_constfct(long __this__nativeId);
/**
* See QRect::operator+=(QMargins)
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect add(io.qt.core.QMargins margins){
add_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins));
return this;
}
@io.qt.QtUninvokable
private native io.qt.core.QRect add_native_cref_QMargins(long __this__nativeId, long margins);
/**
* See QRect::operator-=(QMargins)
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect subtract(io.qt.core.QMargins margins){
subtract_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins));
return this;
}
@io.qt.QtUninvokable
private native io.qt.core.QRect subtract_native_cref_QMargins(long __this__nativeId, long margins);
@io.qt.QtUninvokable
public void writeTo(io.qt.core.QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1);
@io.qt.QtUninvokable
private final boolean operator_equal(io.qt.core.QRect r2){
return operator_equal_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r2));
}
@io.qt.QtUninvokable
private native boolean operator_equal_native_cref_QRect(long __this__nativeId, long r2);
@io.qt.QtUninvokable
public void readFrom(io.qt.core.QDataStream arg__1){
java.util.Objects.requireNonNull(arg__1, "Argument 'arg__1': null not expected.");
readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(arg__1));
}
@io.qt.QtUninvokable
private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1);
/**
*
*/
@io.qt.QtUninvokable
public final int right(){
return right_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int right_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void setBottom(int pos){
setBottom_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void setBottom_native_int(long __this__nativeId, int pos);
/**
* See QRect::setBottomLeft(QPoint)
*/
@io.qt.QtUninvokable
public final void setBottomLeft(io.qt.core.QPoint p){
setBottomLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void setBottomLeft_native_cref_QPoint(long __this__nativeId, long p);
/**
* See QRect::setBottomRight(QPoint)
*/
@io.qt.QtUninvokable
public final void setBottomRight(io.qt.core.QPoint p){
setBottomRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void setBottomRight_native_cref_QPoint(long __this__nativeId, long p);
/**
* See QRect::setCoords(int,int,int,int)
*/
@io.qt.QtUninvokable
public final void setCoords(int x1, int y1, int x2, int y2){
setCoords_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x1, y1, x2, y2);
}
@io.qt.QtUninvokable
private native void setCoords_native_int_int_int_int(long __this__nativeId, int x1, int y1, int x2, int y2);
/**
*
*/
@io.qt.QtUninvokable
public final void setHeight(int h){
setHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), h);
}
@io.qt.QtUninvokable
private native void setHeight_native_int(long __this__nativeId, int h);
/**
*
*/
@io.qt.QtUninvokable
public final void setLeft(int pos){
setLeft_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void setLeft_native_int(long __this__nativeId, int pos);
/**
* See QRect::setRect(int,int,int,int)
*/
@io.qt.QtUninvokable
public final void setRect(int x, int y, int w, int h){
setRect_native_int_int_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h);
}
@io.qt.QtUninvokable
private native void setRect_native_int_int_int_int(long __this__nativeId, int x, int y, int w, int h);
/**
*
*/
@io.qt.QtUninvokable
public final void setRight(int pos){
setRight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void setRight_native_int(long __this__nativeId, int pos);
/**
*
*/
@io.qt.QtUninvokable
public final void setSize(io.qt.core.QSize s){
setSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(s));
}
@io.qt.QtUninvokable
private native void setSize_native_cref_QSize(long __this__nativeId, long s);
/**
*
*/
@io.qt.QtUninvokable
public final void setTop(int pos){
setTop_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos);
}
@io.qt.QtUninvokable
private native void setTop_native_int(long __this__nativeId, int pos);
/**
*
*/
@io.qt.QtUninvokable
public final void setTopLeft(io.qt.core.QPoint p){
setTopLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void setTopLeft_native_cref_QPoint(long __this__nativeId, long p);
/**
* See QRect::setTopRight(QPoint)
*/
@io.qt.QtUninvokable
public final void setTopRight(io.qt.core.QPoint p){
setTopRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void setTopRight_native_cref_QPoint(long __this__nativeId, long p);
/**
*
*/
@io.qt.QtUninvokable
public final void setWidth(int w){
setWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), w);
}
@io.qt.QtUninvokable
private native void setWidth_native_int(long __this__nativeId, int w);
/**
* See QRect::setX(int)
*/
@io.qt.QtUninvokable
public final void setX(int x){
setX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), x);
}
@io.qt.QtUninvokable
private native void setX_native_int(long __this__nativeId, int x);
/**
* See QRect::setY(int)
*/
@io.qt.QtUninvokable
public final void setY(int y){
setY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), y);
}
@io.qt.QtUninvokable
private native void setY_native_int(long __this__nativeId, int y);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QSize size(){
return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QSize size_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final int top(){
return top_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int top_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint topLeft(){
return topLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint topLeft_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QPoint topRight(){
return topRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPoint topRight_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final void translate(io.qt.core.QPoint p){
translate_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native void translate_native_cref_QPoint(long __this__nativeId, long p);
/**
*
*/
@io.qt.QtUninvokable
public final void translate(int dx, int dy){
translate_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy);
}
@io.qt.QtUninvokable
private native void translate_native_int_int(long __this__nativeId, int dx, int dy);
/**
* See QRect::translated(QPoint)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect translated(io.qt.core.QPoint p){
return translated_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect translated_native_cref_QPoint_constfct(long __this__nativeId, long p);
/**
* See QRect::translated(int,int)const
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect translated(int dx, int dy){
return translated_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy);
}
@io.qt.QtUninvokable
private native io.qt.core.QRect translated_native_int_int_constfct(long __this__nativeId, int dx, int dy);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect transposed(){
return transposed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect transposed_native_constfct(long __this__nativeId);
/**
*
*/
@io.qt.QtUninvokable
public final io.qt.core.QRect united(io.qt.core.QRect other){
return united_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other));
}
@io.qt.QtUninvokable
private native io.qt.core.QRect united_native_cref_QRect_constfct(long __this__nativeId, long other);
/**
*
*/
@io.qt.QtUninvokable
public final int width(){
return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int width_native_constfct(long __this__nativeId);
/**
* See QRect::x()const
*/
@io.qt.QtUninvokable
public final int x(){
return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int x_native_constfct(long __this__nativeId);
/**
* See QRect::y()const
*/
@io.qt.QtUninvokable
public final int y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native int y_native_constfct(long __this__nativeId);
/**
* See QRect::span(QPoint,QPoint)
*/
public static io.qt.core.QRect span(io.qt.core.QPoint p1, io.qt.core.QPoint p2){
return span_native_cref_QPoint_cref_QPoint(QtJambi_LibraryUtilities.internal.checkedNativeId(p1), QtJambi_LibraryUtilities.internal.checkedNativeId(p2));
}
private native static io.qt.core.QRect span_native_cref_QPoint_cref_QPoint(long p1, long p2);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QRect(QPrivateConstructor p) { super(p); }
@Override
@io.qt.QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QRect) {
return operator_equal((io.qt.core.QRect) other);
}
return false;
}
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
@io.qt.QtUninvokable
public String toString() {
return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private static native String toString_native(long __this_nativeId);
@Override
public QRect clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QRect clone_native(long __this_nativeId);
}