io.qt.gui.QRadialGradient Maven / Gradle / Ivy
package io.qt.gui;
/**
* 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,QPointF,qreal)
*/
public QRadialGradient(io.qt.core.QPointF center, double centerRadius, io.qt.core.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(QPointF,qreal)
*/
public QRadialGradient(io.qt.core.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.QPointF center, double radius, io.qt.core.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(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::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::center()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF center(){
return center_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF center_native_constfct(long __this__nativeId);
/**
* See QRadialGradient::centerRadius()const
*/
@io.qt.QtUninvokable
public final double centerRadius(){
return centerRadius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double centerRadius_native_constfct(long __this__nativeId);
/**
* See QRadialGradient::focalPoint()const
*/
@io.qt.QtUninvokable
public final io.qt.core.QPointF focalPoint(){
return focalPoint_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native io.qt.core.QPointF focalPoint_native_constfct(long __this__nativeId);
/**
* See QRadialGradient::focalRadius()const
*/
@io.qt.QtUninvokable
public final double focalRadius(){
return focalRadius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double focalRadius_native_constfct(long __this__nativeId);
/**
* See QRadialGradient::radius()const
*/
@io.qt.QtUninvokable
public final double radius(){
return radius_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double radius_native_constfct(long __this__nativeId);
/**
* See QRadialGradient::setCenter(QPointF)
*/
@io.qt.QtUninvokable
public final void setCenter(io.qt.core.QPointF center){
setCenter_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(center));
}
@io.qt.QtUninvokable
private native void setCenter_native_cref_QPointF(long __this__nativeId, long center);
/**
* See QRadialGradient::setCenter(qreal,qreal)
*/
@io.qt.QtUninvokable
public final void setCenter(double x, double y){
setCenter_native_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@io.qt.QtUninvokable
private native void setCenter_native_qtjambireal_qtjambireal(long __this__nativeId, double x, double y);
/**
* See QRadialGradient::setCenterRadius(qreal)
*/
@io.qt.QtUninvokable
public final void setCenterRadius(double radius){
setCenterRadius_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), radius);
}
@io.qt.QtUninvokable
private native void setCenterRadius_native_qtjambireal(long __this__nativeId, double radius);
/**
* See QRadialGradient::setFocalPoint(QPointF)
*/
@io.qt.QtUninvokable
public final void setFocalPoint(io.qt.core.QPointF focalPoint){
setFocalPoint_native_cref_QPointF(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(focalPoint));
}
@io.qt.QtUninvokable
private native void setFocalPoint_native_cref_QPointF(long __this__nativeId, long focalPoint);
/**
* See QRadialGradient::setFocalPoint(qreal,qreal)
*/
@io.qt.QtUninvokable
public final void setFocalPoint(double x, double y){
setFocalPoint_native_qtjambireal_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), x, y);
}
@io.qt.QtUninvokable
private native void setFocalPoint_native_qtjambireal_qtjambireal(long __this__nativeId, double x, double y);
/**
* See QRadialGradient::setFocalRadius(qreal)
*/
@io.qt.QtUninvokable
public final void setFocalRadius(double radius){
setFocalRadius_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), radius);
}
@io.qt.QtUninvokable
private native void setFocalRadius_native_qtjambireal(long __this__nativeId, double radius);
/**
* See QRadialGradient::setRadius(qreal)
*/
@io.qt.QtUninvokable
public final void setRadius(double radius){
setRadius_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), radius);
}
@io.qt.QtUninvokable
private native void setRadius_native_qtjambireal(long __this__nativeId, double radius);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QRadialGradient(QPrivateConstructor p) { super(p); }
@io.qt.QtUninvokable
@Override
public int hashCode() {
return hashCode_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native static int hashCode_native(long __this_nativeId);
@Override
public QRadialGradient clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QRadialGradient clone_native(long __this_nativeId);
}