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

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

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

import io.qt.*;


/**
 * 

Used in combination with QBrush to specify a radial gradient brush

*

Java wrapper for Qt class QRadialGradient

*/ public class QRadialGradient extends io.qt.gui.QGradient implements java.lang.Cloneable { /** *

See QRadialGradient::QRadialGradient()

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

See QRadialGradient::QRadialGradient(QPointF,qreal)

*/ public QRadialGradient(io.qt.core.@NonNull QPointF center, double radius){ super((QPrivateConstructor)null); initialize_native(this, center, radius); } private native static void initialize_native(QRadialGradient instance, io.qt.core.QPointF center, double radius); /** *

See QRadialGradient::QRadialGradient(QPointF,qreal,QPointF)

*/ public QRadialGradient(io.qt.core.@NonNull QPointF center, double radius, io.qt.core.@NonNull QPointF focalPoint){ super((QPrivateConstructor)null); initialize_native(this, center, radius, focalPoint); } private native static void initialize_native(QRadialGradient instance, io.qt.core.QPointF center, double radius, io.qt.core.QPointF focalPoint); /** *

See QRadialGradient::QRadialGradient(QPointF,qreal,QPointF,qreal)

*/ public QRadialGradient(io.qt.core.@NonNull QPointF center, double centerRadius, io.qt.core.@NonNull QPointF focalPoint, double focalRadius){ super((QPrivateConstructor)null); initialize_native(this, center, centerRadius, focalPoint, focalRadius); } private native static void initialize_native(QRadialGradient instance, io.qt.core.QPointF center, double centerRadius, io.qt.core.QPointF focalPoint, double focalRadius); /** *

See QRadialGradient::QRadialGradient(QRadialGradient)

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

See QRadialGradient::QRadialGradient(qreal,qreal,qreal)

*/ public QRadialGradient(double cx, double cy, double radius){ super((QPrivateConstructor)null); initialize_native(this, cx, cy, radius); } private native static void initialize_native(QRadialGradient instance, double cx, double cy, double radius); /** *

See QRadialGradient::QRadialGradient(qreal,qreal,qreal,qreal,qreal)

*/ public QRadialGradient(double cx, double cy, double radius, double fx, double fy){ super((QPrivateConstructor)null); initialize_native(this, cx, cy, radius, fx, fy); } private native static void initialize_native(QRadialGradient instance, double cx, double cy, double radius, double fx, double fy); /** *

See QRadialGradient::QRadialGradient(qreal,qreal,qreal,qreal,qreal,qreal)

*/ public QRadialGradient(double cx, double cy, double centerRadius, double fx, double fy, double focalRadius){ super((QPrivateConstructor)null); initialize_native(this, cx, cy, centerRadius, fx, fy, focalRadius); } private native static void initialize_native(QRadialGradient instance, double cx, double cy, double centerRadius, double fx, double fy, double focalRadius); /** *

See QRadialGradient::center()const

*/ @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 QRadialGradient::centerRadius()const

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

See QRadialGradient::focalPoint()const

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

See QRadialGradient::focalRadius()const

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

See QRadialGradient::radius()const

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

See QRadialGradient::setCenter(QPointF)

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

See QRadialGradient::setCenter(qreal,qreal)

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

See QRadialGradient::setCenterRadius(qreal)

*/ @QtUninvokable public final void setCenterRadius(double radius){ setCenterRadius_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), radius); } @QtUninvokable private native void setCenterRadius_native_qreal(long __this__nativeId, double radius); /** *

See QRadialGradient::setFocalPoint(QPointF)

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

See QRadialGradient::setFocalPoint(qreal,qreal)

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

See QRadialGradient::setFocalRadius(qreal)

*/ @QtUninvokable public final void setFocalRadius(double radius){ setFocalRadius_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), radius); } @QtUninvokable private native void setFocalRadius_native_qreal(long __this__nativeId, double radius); /** *

See QRadialGradient::setRadius(qreal)

*/ @QtUninvokable public final void setRadius(double radius){ setRadius_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), radius); } @QtUninvokable private native void setRadius_native_qreal(long __this__nativeId, double radius); /** * Constructor for internal use only. * @param p expected to be null. * @hidden */ @NativeAccess protected QRadialGradient(QPrivateConstructor p) { super(p); } /** * Returns the objects's hash code computed by qHash(QRadialGradient). */ @QtUninvokable @Override public int hashCode() { return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this)); } @QtUninvokable private native static int hashCode_native(long __this_nativeId); /** *

Creates and returns a copy of this object.

See QRadialGradient::QRadialGradient(QRadialGradient)

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

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

*/ public QRadialGradient(io.qt.core.@NonNull QPoint center, double radius) { this(new io.qt.core.QPointF(center), radius); } /** *

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

*/ public QRadialGradient(io.qt.core.@NonNull QPoint center, double radius, io.qt.core.@NonNull QPointF focalPoint) { this(new io.qt.core.QPointF(center), radius, focalPoint); } /** *

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

*/ public QRadialGradient(io.qt.core.@NonNull QPointF center, double radius, io.qt.core.@NonNull QPoint focalPoint) { this(center, radius, new io.qt.core.QPointF(focalPoint)); } /** *

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

*/ public QRadialGradient(io.qt.core.@NonNull QPoint center, double radius, io.qt.core.@NonNull QPoint focalPoint) { this(new io.qt.core.QPointF(center), radius, new io.qt.core.QPointF(focalPoint)); } /** *

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

*/ public QRadialGradient(io.qt.core.@NonNull QPoint center, double centerRadius, io.qt.core.@NonNull QPointF focalPoint, double focalRadius) { this(new io.qt.core.QPointF(center), centerRadius, focalPoint, focalRadius); } /** *

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

*/ public QRadialGradient(io.qt.core.@NonNull QPointF center, double centerRadius, io.qt.core.@NonNull QPoint focalPoint, double focalRadius) { this(center, centerRadius, new io.qt.core.QPointF(focalPoint), focalRadius); } /** *

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

*/ public QRadialGradient(io.qt.core.@NonNull QPoint center, double centerRadius, io.qt.core.@NonNull QPoint focalPoint, double focalRadius) { this(new io.qt.core.QPointF(center), centerRadius, new io.qt.core.QPointF(focalPoint), focalRadius); } /** *

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

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

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

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy