io.qt.gui.QConicalGradient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qtjambi Show documentation
Show all versions of qtjambi Show documentation
QtJambi base module containing QtCore, QtGui and QtWidgets.
package io.qt.gui;
/**
* Used in combination with QBrush to specify a conical gradient brush
* Java wrapper for Qt class QConicalGradient
*/
public class QConicalGradient extends io.qt.gui.QGradient
implements java.lang.Cloneable
{
/**
* See QConicalGradient::QConicalGradient()
*/
public QConicalGradient(){
super((QPrivateConstructor)null);
initialize_native(this);
}
private native static void initialize_native(QConicalGradient instance);
/**
* See QConicalGradient::QConicalGradient(QPointF,qreal)
*/
public QConicalGradient(io.qt.core.QPointF center, double startAngle){
super((QPrivateConstructor)null);
initialize_native(this, center, startAngle);
}
private native static void initialize_native(QConicalGradient instance, io.qt.core.QPointF center, double startAngle);
/**
* See QConicalGradient::QConicalGradient(qreal,qreal,qreal)
*/
public QConicalGradient(double cx, double cy, double startAngle){
super((QPrivateConstructor)null);
initialize_native(this, cx, cy, startAngle);
}
private native static void initialize_native(QConicalGradient instance, double cx, double cy, double startAngle);
/**
* See QConicalGradient::angle()const
*/
@io.qt.QtUninvokable
public final double angle(){
return angle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@io.qt.QtUninvokable
private native double angle_native_constfct(long __this__nativeId);
/**
* See QConicalGradient::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 QConicalGradient::setAngle(qreal)
*/
@io.qt.QtUninvokable
public final void setAngle(double angle){
setAngle_native_qtjambireal(QtJambi_LibraryUtilities.internal.nativeId(this), angle);
}
@io.qt.QtUninvokable
private native void setAngle_native_qtjambireal(long __this__nativeId, double angle);
/**
* See QConicalGradient::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 QConicalGradient::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);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@io.qt.NativeAccess
protected QConicalGradient(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 QConicalGradient clone() {
return clone_native(QtJambi_LibraryUtilities.internal.nativeId(this));
}
private native QConicalGradient clone_native(long __this_nativeId);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy