io.qt.widgets.QGraphicsRotation Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Rotation transformation around a given axis
* Java wrapper for Qt class QGraphicsRotation
*/
public class QGraphicsRotation extends io.qt.widgets.QGraphicsTransform
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QGraphicsRotation.class);
/**
* See QGraphicsRotation:: angleChanged()
*/
@QtPropertyNotify(name="angle")
public final @NonNull Signal0 angleChanged = new Signal0();
/**
* See QGraphicsRotation:: axisChanged()
*/
@QtPropertyNotify(name="axis")
public final @NonNull Signal0 axisChanged = new Signal0();
/**
* See QGraphicsRotation:: originChanged()
*/
@QtPropertyNotify(name="origin")
public final @NonNull Signal0 originChanged = new Signal0();
/**
* See QGraphicsRotation:: QGraphicsRotation(QObject*)
*/
public QGraphicsRotation(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGraphicsRotation instance, io.qt.core.QObject parent);
/**
* See QGraphicsRotation:: angle()const
*/
@QtPropertyReader(name="angle")
@QtUninvokable
public final double angle(){
return angle_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double angle_native_constfct(long __this__nativeId);
/**
* See QGraphicsRotation:: axis()const
*/
@QtPropertyReader(name="axis")
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D axis(){
return axis_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D axis_native_constfct(long __this__nativeId);
/**
* See QGraphicsRotation:: origin()const
*/
@QtPropertyReader(name="origin")
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D origin(){
return origin_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QVector3D origin_native_constfct(long __this__nativeId);
/**
* See QGraphicsRotation:: setAngle(qreal)
*/
@QtPropertyWriter(name="angle")
@QtUninvokable
public final void setAngle(double arg__1){
setAngle_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setAngle_native_qreal(long __this__nativeId, double arg__1);
/**
* See QGraphicsRotation:: setAxis(QVector3D)
*/
@QtPropertyWriter(name="axis")
@QtUninvokable
public final void setAxis(io.qt.gui.@NonNull QVector3D axis){
setAxis_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(axis));
}
@QtUninvokable
private native void setAxis_native_cref_QVector3D(long __this__nativeId, long axis);
/**
* See QGraphicsRotation:: setAxis(Qt::Axis)
*/
@QtPropertyWriter(name="axis")
@QtUninvokable
public final void setAxis(io.qt.core.Qt.@NonNull Axis axis){
setAxis_native_Qt_Axis(QtJambi_LibraryUtilities.internal.nativeId(this), axis.value());
}
@QtUninvokable
private native void setAxis_native_Qt_Axis(long __this__nativeId, int axis);
/**
* See QGraphicsRotation:: setOrigin(QVector3D)
*/
@QtPropertyWriter(name="origin")
@QtUninvokable
public final void setOrigin(io.qt.gui.@NonNull QVector3D point){
setOrigin_native_cref_QVector3D(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(point));
}
@QtUninvokable
private native void setOrigin_native_cref_QVector3D(long __this__nativeId, long point);
/**
* See QGraphicsTransform:: applyTo(QMatrix4x4*)const
*/
@QtUninvokable
@Override
public void applyTo(io.qt.gui.@Nullable QMatrix4x4 matrix){
applyTo_native_QMatrix4x4_ptr_constfct(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(matrix));
}
@QtUninvokable
private native void applyTo_native_QMatrix4x4_ptr_constfct(long __this__nativeId, long matrix);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QGraphicsRotation(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QGraphicsRotation(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QGraphicsRotation instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QGraphicsRotation(io.qt.core.QObject)}
* with parent = null
.
*/
public QGraphicsRotation() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #angle()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getAngle() {
return angle();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #axis()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getAxis() {
return axis();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #origin()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getOrigin() {
return origin();
}
}