io.qt.core.QRectF Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
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)
*/
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)
*/
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);
/**
*
*/
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)
*/
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)
*/
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)
*/
@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
*/
@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);
/**
*
*/
@QtUninvokable
public final double bottom(){
return bottom_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double bottom_native_constfct(long __this__nativeId);
/**
*
*/
@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
*/
@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);
/**
*
*/
@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
*/
@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
*/
@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
*/
@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);
/**
*
*/
@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
*/
@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
*/
@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);
/**
*
*/
@QtUninvokable
public final boolean isEmpty(){
return isEmpty_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isEmpty_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isNull(){
return isNull_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isNull_native_constfct(long __this__nativeId);
/**
*
*/
@QtUninvokable
public final boolean isValid(){
return isValid_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean isValid_native_constfct(long __this__nativeId);
/**
*
*/
@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
*/
@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
*/
@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);
/**
*
*/
@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)
*/
@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)
*/
@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)
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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)
*/
@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);
/**
*
*/
@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)
*/
@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)
*/
@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);
/**
*
*/
@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)
*/
@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)
*/
@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)
*/
@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)
*/
@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)
*/
@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);
/**
*
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QRectF r2){
return equals_native_cref_QRectF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r2));
}
@QtUninvokable
private native boolean equals_native_cref_QRectF(long __this__nativeId, long r2);
/**
* See operator>>(QDataStream&, QRectF&)
*/
@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);
/**
*
*/
@QtUninvokable
public final double right(){
return right_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double right_native_constfct(long __this__nativeId);
/**
*
*/
@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)
*/
@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)
*/
@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)
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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)
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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)
*/
@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)
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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);
/**
*
*/
@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
*/
@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);
/**
*
*/
@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);
/**
*
*/
@QtUninvokable
public final double top(){
return top_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double top_native_constfct(long __this__nativeId);
/**
*
*/
@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);
/**
*
*/
@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)
*/
@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)
*/
@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
*/
@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
*/
@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);
/**
*
*/
@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
*/
@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);
/**
*
*/
@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
*/
@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
*/
@QtUninvokable
public final double y(){
return y_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double y_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QRectF(QPrivateConstructor p) { super(p); }
/**
*
*/
@Override
@QtUninvokable
public boolean equals(Object other) {
if (other instanceof io.qt.core.QRectF) {
return equals((io.qt.core.QRectF) 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 #equals(io.qt.core.QRectF)}.
*/
@QtUninvokable
public final boolean equals(io.qt.core.@NonNull QRect r2) {
return equals(new io.qt.core.QRectF(r2));
}
/**
* 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));
}
}