All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.qt.core.QRect Maven / Gradle / Ivy

There is a newer version: 6.8.0
Show newest version
package io.qt.core;

import io.qt.*;


/**
 * 

Defines a rectangle in the plane using integer precision

*

Java wrapper for Qt class QRect

*/ public class QRect extends 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.@NonNull QPoint topleft, io.qt.core.@NonNull 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.@NonNull QPoint topleft, io.qt.core.@NonNull 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(QRect)

*/ public QRect(io.qt.core.@NonNull QRect other){ super((QPrivateConstructor)null); initialize_native(this, other); } private native static void initialize_native(QRect instance, io.qt.core.QRect other); /** *

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)

*/ @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); } @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

*/ @QtUninvokable public final io.qt.core.@NonNull 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); } @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); /** *

See QRect::bottom()const

*/ @QtUninvokable public final int bottom(){ return bottom_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int bottom_native_constfct(long __this__nativeId); /** *

See QRect::bottomLeft()const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint bottomLeft(){ return bottomLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint bottomLeft_native_constfct(long __this__nativeId); /** *

See QRect::bottomRight()const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint bottomRight(){ return bottomRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint bottomRight_native_constfct(long __this__nativeId); /** *

See QRect::center()const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint center(){ return center_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint center_native_constfct(long __this__nativeId); /** *

See QRect::contains(QPoint,bool)const

*/ @QtUninvokable public final boolean contains(io.qt.core.@NonNull QPoint p, boolean proper){ return contains_native_cref_QPoint_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p), proper); } @QtUninvokable private native boolean contains_native_cref_QPoint_bool_constfct(long __this__nativeId, long p, boolean proper); /** *

See QRect::contains(QRect,bool)const

*/ @QtUninvokable public final boolean contains(io.qt.core.@NonNull QRect r, boolean proper){ return contains_native_cref_QRect_bool_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r), proper); } @QtUninvokable private native boolean contains_native_cref_QRect_bool_constfct(long __this__nativeId, long r, boolean proper); /** *

See QRect::contains(int,int)const

*/ @QtUninvokable public final boolean contains(int x, int y){ return contains_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @QtUninvokable private native boolean contains_native_int_int_constfct(long __this__nativeId, int x, int y); /** *

See QRect::contains(int,int,bool)const

*/ @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); } @QtUninvokable private native boolean contains_native_int_int_bool_constfct(long __this__nativeId, int x, int y, boolean proper); /** *

See QRect::height()const

*/ @QtUninvokable public final int height(){ return height_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int height_native_constfct(long __this__nativeId); /** *

See QRect::intersected(QRect)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect intersected(io.qt.core.@NonNull QRect other){ return intersected_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native io.qt.core.QRect intersected_native_cref_QRect_constfct(long __this__nativeId, long other); /** *

See QRect::intersects(QRect)const

*/ @QtUninvokable public final boolean intersects(io.qt.core.@NonNull QRect r){ return intersects_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native boolean intersects_native_cref_QRect_constfct(long __this__nativeId, long r); /** *

See QRect::isEmpty()const

*/ @QtUninvokable public final boolean isEmpty(){ return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isEmpty_native_constfct(long __this__nativeId); /** *

See QRect::isNull()const

*/ @QtUninvokable public final boolean isNull(){ return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isNull_native_constfct(long __this__nativeId); /** *

See QRect::isValid()const

*/ @QtUninvokable public final boolean isValid(){ return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native boolean isValid_native_constfct(long __this__nativeId); /** *

See QRect::left()const

*/ @QtUninvokable public final int left(){ return left_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int left_native_constfct(long __this__nativeId); /** *

See QRect::marginsAdded(QMargins)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect marginsAdded(io.qt.core.@NonNull QMargins margins){ return marginsAdded_native_cref_QMargins_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native io.qt.core.QRect marginsAdded_native_cref_QMargins_constfct(long __this__nativeId, long margins); /** *

See QRect::marginsRemoved(QMargins)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect marginsRemoved(io.qt.core.@NonNull QMargins margins){ return marginsRemoved_native_cref_QMargins_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native io.qt.core.QRect marginsRemoved_native_cref_QMargins_constfct(long __this__nativeId, long margins); /** *

See QRect::moveBottom(int)

*/ @QtUninvokable public final void moveBottom(int pos){ moveBottom_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void moveBottom_native_int(long __this__nativeId, int pos); /** *

See QRect::moveBottomLeft(QPoint)

*/ @QtUninvokable public final void moveBottomLeft(io.qt.core.@NonNull QPoint p){ moveBottomLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void moveBottomLeft_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::moveBottomRight(QPoint)

*/ @QtUninvokable public final void moveBottomRight(io.qt.core.@NonNull QPoint p){ moveBottomRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void moveBottomRight_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::moveCenter(QPoint)

*/ @QtUninvokable public final void moveCenter(io.qt.core.@NonNull QPoint p){ moveCenter_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void moveCenter_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::moveLeft(int)

*/ @QtUninvokable public final void moveLeft(int pos){ moveLeft_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void moveLeft_native_int(long __this__nativeId, int pos); /** *

See QRect::moveRight(int)

*/ @QtUninvokable public final void moveRight(int pos){ moveRight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void moveRight_native_int(long __this__nativeId, int pos); /** *

See QRect::moveTo(QPoint)

*/ @QtUninvokable public final void moveTo(io.qt.core.@NonNull QPoint p){ moveTo_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void moveTo_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::moveTo(int,int)

*/ @QtUninvokable public final void moveTo(int x, int t){ moveTo_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), x, t); } @QtUninvokable private native void moveTo_native_int_int(long __this__nativeId, int x, int t); /** *

See QRect::moveTop(int)

*/ @QtUninvokable public final void moveTop(int pos){ moveTop_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void moveTop_native_int(long __this__nativeId, int pos); /** *

See QRect::moveTopLeft(QPoint)

*/ @QtUninvokable public final void moveTopLeft(io.qt.core.@NonNull QPoint p){ moveTopLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void moveTopLeft_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::moveTopRight(QPoint)

*/ @QtUninvokable public final void moveTopRight(io.qt.core.@NonNull QPoint p){ moveTopRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void moveTopRight_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::normalized()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect normalized(){ return normalized_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRect normalized_native_constfct(long __this__nativeId); /** *

See operator+(QRect,QMargins)

*/ @QtUninvokable public final io.qt.core.@NonNull QRect plus(io.qt.core.@NonNull QMargins margins){ return plus_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native io.qt.core.QRect plus_native_cref_QMargins(long __this__nativeId, long margins); /** *

See QRect::operator+=(QMargins)

*/ @QtUninvokable public final @NonNull QRect add(io.qt.core.@NonNull QMargins margins){ return add_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native QRect add_native_cref_QMargins(long __this__nativeId, long margins); /** *

See operator-(QRect,QMargins)

*/ @QtUninvokable public final io.qt.core.@NonNull QRect minus(io.qt.core.@NonNull QMargins rhs){ return minus_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native io.qt.core.QRect minus_native_cref_QMargins(long __this__nativeId, long rhs); /** *

See QRect::operator-=(QMargins)

*/ @QtUninvokable public final @NonNull QRect subtract(io.qt.core.@NonNull QMargins margins){ return subtract_native_cref_QMargins(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(margins)); } @QtUninvokable private native QRect subtract_native_cref_QMargins(long __this__nativeId, long margins); /** *

See operator<<(QDataStream&,QRect)

*/ @QtUninvokable public void writeTo(io.qt.core.@StrictNonNull 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)); } @QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See operator==(QRect,QRect)

*/ @QtUninvokable public final boolean equals(io.qt.core.@NonNull QRect r2){ return equals_native_cref_QRect(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r2)); } @QtUninvokable private native boolean equals_native_cref_QRect(long __this__nativeId, long r2); /** *

See operator>>(QDataStream&,QRect&)

*/ @QtUninvokable public void readFrom(io.qt.core.@StrictNonNull 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)); } @QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long arg__1); /** *

See QRect::right()const

*/ @QtUninvokable public final int right(){ return right_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int right_native_constfct(long __this__nativeId); /** *

See QRect::setBottom(int)

*/ @QtUninvokable public final void setBottom(int pos){ setBottom_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void setBottom_native_int(long __this__nativeId, int pos); /** *

See QRect::setBottomLeft(QPoint)

*/ @QtUninvokable public final void setBottomLeft(io.qt.core.@NonNull QPoint p){ setBottomLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void setBottomLeft_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::setBottomRight(QPoint)

*/ @QtUninvokable public final void setBottomRight(io.qt.core.@NonNull QPoint p){ setBottomRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void setBottomRight_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::setCoords(int,int,int,int)

*/ @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); } @QtUninvokable private native void setCoords_native_int_int_int_int(long __this__nativeId, int x1, int y1, int x2, int y2); /** *

See QRect::setHeight(int)

*/ @QtUninvokable public final void setHeight(int h){ setHeight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), h); } @QtUninvokable private native void setHeight_native_int(long __this__nativeId, int h); /** *

See QRect::setLeft(int)

*/ @QtUninvokable public final void setLeft(int pos){ setLeft_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void setLeft_native_int(long __this__nativeId, int pos); /** *

See QRect::setRect(int,int,int,int)

*/ @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); } @QtUninvokable private native void setRect_native_int_int_int_int(long __this__nativeId, int x, int y, int w, int h); /** *

See QRect::setRight(int)

*/ @QtUninvokable public final void setRight(int pos){ setRight_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void setRight_native_int(long __this__nativeId, int pos); /** *

See QRect::setSize(QSize)

*/ @QtUninvokable public final void setSize(io.qt.core.@NonNull QSize s){ setSize_native_cref_QSize(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(s)); } @QtUninvokable private native void setSize_native_cref_QSize(long __this__nativeId, long s); /** *

See QRect::setTop(int)

*/ @QtUninvokable public final void setTop(int pos){ setTop_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void setTop_native_int(long __this__nativeId, int pos); /** *

See QRect::setTopLeft(QPoint)

*/ @QtUninvokable public final void setTopLeft(io.qt.core.@NonNull QPoint p){ setTopLeft_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void setTopLeft_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::setTopRight(QPoint)

*/ @QtUninvokable public final void setTopRight(io.qt.core.@NonNull QPoint p){ setTopRight_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void setTopRight_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::setWidth(int)

*/ @QtUninvokable public final void setWidth(int w){ setWidth_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), w); } @QtUninvokable private native void setWidth_native_int(long __this__nativeId, int w); /** *

See QRect::setX(int)

*/ @QtUninvokable public final void setX(int x){ setX_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), x); } @QtUninvokable private native void setX_native_int(long __this__nativeId, int x); /** *

See QRect::setY(int)

*/ @QtUninvokable public final void setY(int y){ setY_native_int(QtJambi_LibraryUtilities.internal.nativeId(this), y); } @QtUninvokable private native void setY_native_int(long __this__nativeId, int y); /** *

See QRect::size()const

*/ @QtUninvokable public final io.qt.core.@NonNull QSize size(){ return size_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QSize size_native_constfct(long __this__nativeId); /** *

See QRect::toRectF()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF toRectF(){ return toRectF_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRectF toRectF_native_constfct(long __this__nativeId); /** *

See QRect::top()const

*/ @QtUninvokable public final int top(){ return top_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int top_native_constfct(long __this__nativeId); /** *

See QRect::topLeft()const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint topLeft(){ return topLeft_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint topLeft_native_constfct(long __this__nativeId); /** *

See QRect::topRight()const

*/ @QtUninvokable public final io.qt.core.@NonNull QPoint topRight(){ return topRight_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QPoint topRight_native_constfct(long __this__nativeId); /** *

See QRect::translate(QPoint)

*/ @QtUninvokable public final void translate(io.qt.core.@NonNull QPoint p){ translate_native_cref_QPoint(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native void translate_native_cref_QPoint(long __this__nativeId, long p); /** *

See QRect::translate(int,int)

*/ @QtUninvokable public final void translate(int dx, int dy){ translate_native_int_int(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native void translate_native_int_int(long __this__nativeId, int dx, int dy); /** *

See QRect::translated(QPoint)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect translated(io.qt.core.@NonNull QPoint p){ return translated_native_cref_QPoint_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(p)); } @QtUninvokable private native io.qt.core.QRect translated_native_cref_QPoint_constfct(long __this__nativeId, long p); /** *

See QRect::translated(int,int)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect translated(int dx, int dy){ return translated_native_int_int_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), dx, dy); } @QtUninvokable private native io.qt.core.QRect translated_native_int_int_constfct(long __this__nativeId, int dx, int dy); /** *

See QRect::transposed()const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect transposed(){ return transposed_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.core.QRect transposed_native_constfct(long __this__nativeId); /** *

See QRect::united(QRect)const

*/ @QtUninvokable public final io.qt.core.@NonNull QRect united(io.qt.core.@NonNull QRect other){ return united_native_cref_QRect_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native io.qt.core.QRect united_native_cref_QRect_constfct(long __this__nativeId, long other); /** *

See QRect::width()const

*/ @QtUninvokable public final int width(){ return width_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int width_native_constfct(long __this__nativeId); /** *

See QRect::x()const

*/ @QtUninvokable public final int x(){ return x_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int x_native_constfct(long __this__nativeId); /** *

See QRect::y()const

*/ @QtUninvokable public final int y(){ return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native int y_native_constfct(long __this__nativeId); /** *

See QRect::span(QPoint,QPoint)

*/ public static io.qt.core.@NonNull QRect span(io.qt.core.@NonNull QPoint p1, io.qt.core.@NonNull 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. * @hidden */ @NativeAccess protected QRect(QPrivateConstructor p) { super(p); } /** *

See operator==(QRect,QRect)

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other instanceof io.qt.core.QRect) { return equals((io.qt.core.QRect) other); } return false; } /** * Returns the objects's hash code computed by qHash(QRect). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

See operator<<(QDebug,QRect)

*/ @QtUninvokable @Override public @NonNull String toString() { return toString_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private static native String toString_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QRect::QRect(QRect)

*/ @QtUninvokable @Override public QRect clone() { return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } private static native QRect clone_native(long __this_nativeId); /** *

Overloaded function for {@link #contains(io.qt.core.QPoint, boolean)} * with proper = false.

*/ @QtUninvokable public final boolean contains(io.qt.core.@NonNull QPoint p) { return contains(p, (boolean)false); } /** *

Overloaded function for {@link #contains(io.qt.core.QRect, boolean)} * with proper = false.

*/ @QtUninvokable public final boolean contains(io.qt.core.@NonNull QRect r) { return contains(r, (boolean)false); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy