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

io.qt.gui.QPolygonF Maven / Gradle / Ivy

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

import io.qt.*;
import io.qt.core.QPointF;


/**
 * 

List of points using floating point precision

*

Java wrapper for Qt class QPolygonF

*/ public class QPolygonF extends io.qt.core.QList implements java.lang.Cloneable { static { QtJambi_LibraryUtilities.initialize(); } /** *

See QPolygonF::QPolygonF()

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

See QPolygonF::QPolygonF(QList<QPointF>)

*/ public QPolygonF(java.util.@NonNull Collection v){ super((QPrivateConstructor)null); initialize_native(this, v); } private native static void initialize_native(QPolygonF instance, java.util.Collection v); /** *

See QPolygonF::QPolygonF(QPolygon)

*/ public QPolygonF(io.qt.gui.@NonNull QPolygon a){ super((QPrivateConstructor)null); initialize_native(this, a); } private native static void initialize_native(QPolygonF instance, io.qt.gui.QPolygon a); /** *

See QPolygonF::QPolygonF(QPolygonF)

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

See QPolygonF::QPolygonF(QRectF)

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

See QPolygonF::boundingRect()const

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

See QPolygonF::containsPoint(QPointF,Qt::FillRule)const

*/ @QtUninvokable public final boolean containsPoint(io.qt.core.@NonNull QPointF pt, io.qt.core.Qt.@NonNull FillRule fillRule){ return containsPoint_native_cref_QPointF_Qt_FillRule_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(pt), fillRule.value()); } @QtUninvokable private native boolean containsPoint_native_cref_QPointF_Qt_FillRule_constfct(long __this__nativeId, long pt, int fillRule); /** *

See QPolygonF::intersected(QPolygonF)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF intersected(io.qt.gui.@NonNull QPolygonF r){ return intersected_native_cref_QPolygonF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native io.qt.gui.QPolygonF intersected_native_cref_QPolygonF_constfct(long __this__nativeId, long r); /** *

See QPolygonF::intersects(QPolygonF)const

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

See QPolygonF::isClosed()const

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

See operator*(QPolygonF,QTransform)

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF times(io.qt.gui.@NonNull QTransform m){ return times_native_cref_QTransform(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(m)); } @QtUninvokable private native io.qt.gui.QPolygonF times_native_cref_QTransform(long __this__nativeId, long m); /** *

See operator<<(QDataStream&,QPolygonF)

*/ @QtUninvokable public void writeTo(io.qt.core.@StrictNonNull QDataStream stream){ java.util.Objects.requireNonNull(stream, "Argument 'stream': null not expected."); writeTo_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(stream)); } @QtUninvokable private native void writeTo_native_ref_QDataStream(long __this__nativeId, long stream); /** *

See operator>>(QDataStream&,QPolygonF&)

*/ @QtUninvokable public void readFrom(io.qt.core.@StrictNonNull QDataStream stream){ java.util.Objects.requireNonNull(stream, "Argument 'stream': null not expected."); readFrom_native_ref_QDataStream(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(stream)); } @QtUninvokable private native void readFrom_native_ref_QDataStream(long __this__nativeId, long stream); /** *

See QPolygonF::subtracted(QPolygonF)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF subtracted(io.qt.gui.@NonNull QPolygonF r){ return subtracted_native_cref_QPolygonF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native io.qt.gui.QPolygonF subtracted_native_cref_QPolygonF_constfct(long __this__nativeId, long r); /** *

See QPolygonF::swap(QPolygonF&)

*/ @QtUninvokable public final void swap(io.qt.gui.@StrictNonNull QPolygonF other){ java.util.Objects.requireNonNull(other, "Argument 'other': null not expected."); swap_native_ref_QPolygonF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(other)); } @QtUninvokable private native void swap_native_ref_QPolygonF(long __this__nativeId, long other); /** *

See QPolygonF::toPolygon()const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygon toPolygon(){ return toPolygon_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native io.qt.gui.QPolygon toPolygon_native_constfct(long __this__nativeId); /** *

See QPolygonF::translate(QPointF)

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

See QPolygonF::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 QPolygonF::translated(QPointF)const

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

See QPolygonF::translated(qreal,qreal)const

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

See QPolygonF::united(QPolygonF)const

*/ @QtUninvokable public final io.qt.gui.@NonNull QPolygonF united(io.qt.gui.@NonNull QPolygonF r){ return united_native_cref_QPolygonF_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(r)); } @QtUninvokable private native io.qt.gui.QPolygonF united_native_cref_QPolygonF_constfct(long __this__nativeId, long r); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QPolygonF(QPrivateConstructor p) { super(p); } /** * Returns the objects's hash code computed by qHash(QPolygonF). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); @QtUninvokable public final void append(double x, double y) { append(new QPointF(x, y)); } /** *

See operator<<(QDebug,QPolygonF)

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

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

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

*/ public QPolygonF(io.qt.core.@NonNull QRect r) { this(new io.qt.core.QRectF(r)); } /** *

Overloaded function for {@link #containsPoint(io.qt.core.QPointF, io.qt.core.Qt.FillRule)}.

*/ @QtUninvokable public final boolean containsPoint(io.qt.core.@NonNull QPoint pt, io.qt.core.Qt.@NonNull FillRule fillRule) { return containsPoint(new io.qt.core.QPointF(pt), fillRule); } /** *

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy