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

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

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

import io.qt.*;


/**
 * 

Defines a finite rectangle in the plane using floating point precision

*

Java wrapper for Qt class QRectF

*/ public class QRectF extends QtObject implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QRectF::QRectF()

*/ public QRectF(){ super((QPrivateConstructor)null); initialize_native(this); } private native static void initialize_native(QRectF instance); /** *

See QRectF::QRectF(QPointF,QPointF)

* @param topleft * @param bottomRight */ public QRectF(io.qt.core.@NonNull QPointF topleft, io.qt.core.@NonNull QPointF bottomRight){ super((QPrivateConstructor)null); initialize_native(this, topleft, bottomRight); } private native static void initialize_native(QRectF instance, io.qt.core.QPointF topleft, io.qt.core.QPointF bottomRight); /** *

See QRectF::QRectF(QPointF,QSizeF)

* @param topleft * @param size */ public QRectF(io.qt.core.@NonNull QPointF topleft, io.qt.core.@NonNull QSizeF size){ super((QPrivateConstructor)null); initialize_native(this, topleft, size); } private native static void initialize_native(QRectF instance, io.qt.core.QPointF topleft, io.qt.core.QSizeF size); /** *

See QRectF::QRectF(QRect)

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

See QRectF::QRectF(QRectF)

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

See QRectF::QRectF(qreal,qreal,qreal,qreal)

* @param left * @param top * @param width * @param height */ public QRectF(double left, double top, double width, double height){ super((QPrivateConstructor)null); initialize_native(this, left, top, width, height); } private native static void initialize_native(QRectF instance, double left, double top, double width, double height); /** *

See QRectF::adjust(qreal,qreal,qreal,qreal)

* @param x1 * @param y1 * @param x2 * @param y2 */ @QtUninvokable public final void adjust(double x1, double y1, double x2, double y2){ adjust_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), x1, y1, x2, y2); } @QtUninvokable private native void adjust_native_qreal_qreal_qreal_qreal(long __this__nativeId, double x1, double y1, double x2, double y2); /** *

See QRectF::adjusted(qreal,qreal,qreal,qreal)const

* @param x1 * @param y1 * @param x2 * @param y2 * @return */ @QtUninvokable public final io.qt.core.@NonNull QRectF adjusted(double x1, double y1, double x2, double y2){ return adjusted_native_qreal_qreal_qreal_qreal_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), x1, y1, x2, y2); } @QtUninvokable private native io.qt.core.QRectF adjusted_native_qreal_qreal_qreal_qreal_constfct(long __this__nativeId, double x1, double y1, double x2, double y2); /** *

See QRectF::bottom()const

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

See QRectF::bottomLeft()const

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

See QRectF::bottomRight()const

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

See QRectF::center()const

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

See QRectF::contains(QPointF)const

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

See QRectF::contains(QRectF)const

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

See QRectF::contains(qreal,qreal)const

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

See QRectF::height()const

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

See QRectF::intersected(QRectF)const

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

See QRectF::intersects(QRectF)const

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

See QRectF::isEmpty()const

* @return */ @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 QRectF::isNull()const

* @return */ @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 QRectF::isValid()const

* @return */ @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 QRectF::left()const

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

See QRectF::marginsAdded(QMarginsF)const

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

See QRectF::marginsRemoved(QMarginsF)const

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

See QRectF::moveBottom(qreal)

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

See QRectF::moveBottomLeft(QPointF)

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

See QRectF::moveBottomRight(QPointF)

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

See QRectF::moveCenter(QPointF)

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

See QRectF::moveLeft(qreal)

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

See QRectF::moveRight(qreal)

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

See QRectF::moveTo(QPointF)

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

See QRectF::moveTo(qreal,qreal)

* @param x * @param y */ @QtUninvokable public final void moveTo(double x, double y){ moveTo_native_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y); } @QtUninvokable private native void moveTo_native_qreal_qreal(long __this__nativeId, double x, double y); /** *

See QRectF::moveTop(qreal)

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

See QRectF::moveTopLeft(QPointF)

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

See QRectF::moveTopRight(QPointF)

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

See QRectF::normalized()const

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

See operator+(QRectF,QMarginsF)

* @param rhs * @return */ @QtUninvokable public final io.qt.core.@NonNull QRectF plus(io.qt.core.@NonNull QMarginsF rhs){ return plus_native_cref_QMarginsF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } @QtUninvokable private native io.qt.core.QRectF plus_native_cref_QMarginsF(long __this__nativeId, long rhs); /** *

See QRectF::operator+=(QMarginsF)

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

See operator-(QRectF,QMarginsF)

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

See QRectF::operator-=(QMarginsF)

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

See operator<<(QDataStream&,QRectF)

* @param arg__1 */ @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==(QRectF,QRect)

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

See operator==(QRectF,QRectF)

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

See operator>>(QDataStream&,QRectF&)

* @param arg__1 */ @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 QRectF::right()const

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

See QRectF::setBottom(qreal)

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

See QRectF::setBottomLeft(QPointF)

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

See QRectF::setBottomRight(QPointF)

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

See QRectF::setCoords(qreal,qreal,qreal,qreal)

* @param x1 * @param y1 * @param x2 * @param y2 */ @QtUninvokable public final void setCoords(double x1, double y1, double x2, double y2){ setCoords_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), x1, y1, x2, y2); } @QtUninvokable private native void setCoords_native_qreal_qreal_qreal_qreal(long __this__nativeId, double x1, double y1, double x2, double y2); /** *

See QRectF::setHeight(qreal)

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

See QRectF::setLeft(qreal)

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

See QRectF::setRect(qreal,qreal,qreal,qreal)

* @param x * @param y * @param w * @param h */ @QtUninvokable public final void setRect(double x, double y, double w, double h){ setRect_native_qreal_qreal_qreal_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y, w, h); } @QtUninvokable private native void setRect_native_qreal_qreal_qreal_qreal(long __this__nativeId, double x, double y, double w, double h); /** *

See QRectF::setRight(qreal)

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

See QRectF::setSize(QSizeF)

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

See QRectF::setTop(qreal)

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

See QRectF::setTopLeft(QPointF)

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

See QRectF::setTopRight(QPointF)

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

See QRectF::setWidth(qreal)

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

See QRectF::setX(qreal)

* @param pos */ @QtUninvokable public final void setX(double pos){ setX_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void setX_native_qreal(long __this__nativeId, double pos); /** *

See QRectF::setY(qreal)

* @param pos */ @QtUninvokable public final void setY(double pos){ setY_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), pos); } @QtUninvokable private native void setY_native_qreal(long __this__nativeId, double pos); /** *

See QRectF::size()const

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

See QRectF::toAlignedRect()const

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

See QRectF::toRect()const

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

See QRectF::top()const

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

See QRectF::topLeft()const

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

See QRectF::topRight()const

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

See QRectF::translate(QPointF)

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

See QRectF::translate(qreal,qreal)

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

See QRectF::translated(QPointF)const

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

See QRectF::translated(qreal,qreal)const

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

See QRectF::transposed()const

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

See QRectF::united(QRectF)const

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

See QRectF::width()const

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

See QRectF::x()const

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

See QRectF::y()const

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

See qFuzzyCompare(QRectF,QRectF)

* @since This function was introduced in Qt 6.8. * @param lhs * @param rhs * @return */ public static boolean qFuzzyCompare(io.qt.core.@NonNull QRectF lhs, io.qt.core.@NonNull QRectF rhs){ return qFuzzyCompare_native_cref_QRectF_cref_QRectF(QtJambi_LibraryUtilities.internal.checkedNativeId(lhs), QtJambi_LibraryUtilities.internal.checkedNativeId(rhs)); } private native static boolean qFuzzyCompare_native_cref_QRectF_cref_QRectF(long lhs, long rhs); /** *

See qFuzzyIsNull(QRectF)

* @since This function was introduced in Qt 6.8. * @param rect * @return */ public static boolean qFuzzyIsNull(io.qt.core.@NonNull QRectF rect){ return qFuzzyIsNull_native_cref_QRectF(QtJambi_LibraryUtilities.internal.checkedNativeId(rect)); } private native static boolean qFuzzyIsNull_native_cref_QRectF(long rect); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRectF(QPrivateConstructor p) { super(p); } /** *

Checks for equality depending on the type of given object.

*/ @Override @QtUninvokable public boolean equals(Object other) { if (other==null || other instanceof io.qt.core.QRectF) { return equals((io.qt.core.QRectF) other); } else 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(QRectF). */ @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,QRectF)

*/ @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 QRectF::QRectF(QRectF)

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

Overloaded constructor for {@link #QRectF(io.qt.core.QPointF, io.qt.core.QPointF)}.

*/ public QRectF(io.qt.core.@NonNull QPoint topleft, io.qt.core.@NonNull QPointF bottomRight) { this(new io.qt.core.QPointF(topleft), bottomRight); } /** *

Overloaded constructor for {@link #QRectF(io.qt.core.QPointF, io.qt.core.QPointF)}.

*/ public QRectF(io.qt.core.@NonNull QPointF topleft, io.qt.core.@NonNull QPoint bottomRight) { this(topleft, new io.qt.core.QPointF(bottomRight)); } /** *

Overloaded constructor for {@link #QRectF(io.qt.core.QPointF, io.qt.core.QPointF)}.

*/ public QRectF(io.qt.core.@NonNull QPoint topleft, io.qt.core.@NonNull QPoint bottomRight) { this(new io.qt.core.QPointF(topleft), new io.qt.core.QPointF(bottomRight)); } /** *

Overloaded constructor for {@link #QRectF(io.qt.core.QPointF, io.qt.core.QSizeF)}.

*/ public QRectF(io.qt.core.@NonNull QPoint topleft, io.qt.core.@NonNull QSizeF size) { this(new io.qt.core.QPointF(topleft), size); } /** *

Overloaded constructor for {@link #QRectF(io.qt.core.QPointF, io.qt.core.QSizeF)}.

*/ public QRectF(io.qt.core.@NonNull QPointF topleft, io.qt.core.@NonNull QSize size) { this(topleft, new io.qt.core.QSizeF(size)); } /** *

Overloaded constructor for {@link #QRectF(io.qt.core.QPointF, io.qt.core.QSizeF)}.

*/ public QRectF(io.qt.core.@NonNull QPoint topleft, io.qt.core.@NonNull QSize size) { this(new io.qt.core.QPointF(topleft), new io.qt.core.QSizeF(size)); } /** *

Overloaded function for {@link #contains(io.qt.core.QPointF)}.

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

Overloaded function for {@link #contains(io.qt.core.QRectF)}.

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

Overloaded function for {@link #intersected(io.qt.core.QRectF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF intersected(io.qt.core.@NonNull QRect other) { return intersected(new io.qt.core.QRectF(other)); } /** *

Overloaded function for {@link #intersects(io.qt.core.QRectF)}.

*/ @QtUninvokable public final boolean intersects(io.qt.core.@NonNull QRect r) { return intersects(new io.qt.core.QRectF(r)); } /** *

Overloaded function for {@link #marginsAdded(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF marginsAdded(io.qt.core.@NonNull QMargins margins) { return marginsAdded(new io.qt.core.QMarginsF(margins)); } /** *

Overloaded function for {@link #marginsRemoved(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF marginsRemoved(io.qt.core.@NonNull QMargins margins) { return marginsRemoved(new io.qt.core.QMarginsF(margins)); } /** *

Overloaded function for {@link #moveBottomLeft(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void moveBottomLeft(io.qt.core.@NonNull QPoint p) { moveBottomLeft(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #moveBottomRight(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void moveBottomRight(io.qt.core.@NonNull QPoint p) { moveBottomRight(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #moveCenter(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void moveCenter(io.qt.core.@NonNull QPoint p) { moveCenter(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #moveTo(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void moveTo(io.qt.core.@NonNull QPoint p) { moveTo(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #moveTopLeft(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void moveTopLeft(io.qt.core.@NonNull QPoint p) { moveTopLeft(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #moveTopRight(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void moveTopRight(io.qt.core.@NonNull QPoint p) { moveTopRight(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #plus(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF plus(io.qt.core.@NonNull QMargins rhs) { return plus(new io.qt.core.QMarginsF(rhs)); } /** *

Overloaded function for {@link #add(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final @NonNull QRectF add(io.qt.core.@NonNull QMargins margins) { return add(new io.qt.core.QMarginsF(margins)); } /** *

Overloaded function for {@link #minus(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF minus(io.qt.core.@NonNull QMargins rhs) { return minus(new io.qt.core.QMarginsF(rhs)); } /** *

Overloaded function for {@link #subtract(io.qt.core.QMarginsF)}.

*/ @QtUninvokable public final @NonNull QRectF subtract(io.qt.core.@NonNull QMargins margins) { return subtract(new io.qt.core.QMarginsF(margins)); } /** *

Overloaded function for {@link #setBottomLeft(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void setBottomLeft(io.qt.core.@NonNull QPoint p) { setBottomLeft(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #setBottomRight(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void setBottomRight(io.qt.core.@NonNull QPoint p) { setBottomRight(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #setSize(io.qt.core.QSizeF)}.

*/ @QtUninvokable public final void setSize(io.qt.core.@NonNull QSize s) { setSize(new io.qt.core.QSizeF(s)); } /** *

Overloaded function for {@link #setTopLeft(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void setTopLeft(io.qt.core.@NonNull QPoint p) { setTopLeft(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #setTopRight(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void setTopRight(io.qt.core.@NonNull QPoint p) { setTopRight(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #translate(io.qt.core.QPointF)}.

*/ @QtUninvokable public final void translate(io.qt.core.@NonNull QPoint p) { translate(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #translated(io.qt.core.QPointF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF translated(io.qt.core.@NonNull QPoint p) { return translated(new io.qt.core.QPointF(p)); } /** *

Overloaded function for {@link #united(io.qt.core.QRectF)}.

*/ @QtUninvokable public final io.qt.core.@NonNull QRectF united(io.qt.core.@NonNull QRect other) { return united(new io.qt.core.QRectF(other)); } /** *

Overloaded function for {@link #qFuzzyCompare(io.qt.core.QRectF, io.qt.core.QRectF)}.

*/ public static boolean qFuzzyCompare(io.qt.core.@NonNull QRect lhs, io.qt.core.@NonNull QRectF rhs) { return qFuzzyCompare(new io.qt.core.QRectF(lhs), rhs); } /** *

Overloaded function for {@link #qFuzzyCompare(io.qt.core.QRectF, io.qt.core.QRectF)}.

*/ public static boolean qFuzzyCompare(io.qt.core.@NonNull QRectF lhs, io.qt.core.@NonNull QRect rhs) { return qFuzzyCompare(lhs, new io.qt.core.QRectF(rhs)); } /** *

Overloaded function for {@link #qFuzzyCompare(io.qt.core.QRectF, io.qt.core.QRectF)}.

*/ public static boolean qFuzzyCompare(io.qt.core.@NonNull QRect lhs, io.qt.core.@NonNull QRect rhs) { return qFuzzyCompare(new io.qt.core.QRectF(lhs), new io.qt.core.QRectF(rhs)); } /** *

Overloaded function for {@link #qFuzzyIsNull(io.qt.core.QRectF)}.

*/ public static boolean qFuzzyIsNull(io.qt.core.@NonNull QRect rect) { return qFuzzyIsNull(new io.qt.core.QRectF(rect)); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy