io.qt.widgets.QGraphicsScale Maven / Gradle / Ivy
Show all versions of qtjambi Show documentation
package io.qt.widgets;
import io.qt.*;
/**
* Scale transformation
* Java wrapper for Qt class QGraphicsScale
*/
public class QGraphicsScale 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(QGraphicsScale.class);
/**
* See QGraphicsScale:: originChanged()
*/
@QtPropertyNotify(name="origin")
public final @NonNull Signal0 originChanged = new Signal0();
/**
* See QGraphicsScale:: scaleChanged()
*/
public final @NonNull Signal0 scaleChanged = new Signal0();
/**
* See QGraphicsScale:: xScaleChanged()
*/
@QtPropertyNotify(name="xScale")
public final @NonNull Signal0 xScaleChanged = new Signal0();
/**
* See QGraphicsScale:: yScaleChanged()
*/
@QtPropertyNotify(name="yScale")
public final @NonNull Signal0 yScaleChanged = new Signal0();
/**
* See QGraphicsScale:: zScaleChanged()
*/
@QtPropertyNotify(name="zScale")
public final @NonNull Signal0 zScaleChanged = new Signal0();
/**
* See QGraphicsScale:: QGraphicsScale(QObject*)
*/
public QGraphicsScale(io.qt.core.@Nullable QObject parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QGraphicsScale instance, io.qt.core.QObject parent);
/**
* See QGraphicsScale:: 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 QGraphicsScale:: 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 QGraphicsScale:: setXScale(qreal)
*/
@QtPropertyWriter(name="xScale")
@QtUninvokable
public final void setXScale(double arg__1){
setXScale_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setXScale_native_qreal(long __this__nativeId, double arg__1);
/**
* See QGraphicsScale:: setYScale(qreal)
*/
@QtPropertyWriter(name="yScale")
@QtUninvokable
public final void setYScale(double arg__1){
setYScale_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setYScale_native_qreal(long __this__nativeId, double arg__1);
/**
* See QGraphicsScale:: setZScale(qreal)
*/
@QtPropertyWriter(name="zScale")
@QtUninvokable
public final void setZScale(double arg__1){
setZScale_native_qreal(QtJambi_LibraryUtilities.internal.nativeId(this), arg__1);
}
@QtUninvokable
private native void setZScale_native_qreal(long __this__nativeId, double arg__1);
/**
* See QGraphicsScale:: xScale()const
*/
@QtPropertyReader(name="xScale")
@QtUninvokable
public final double xScale(){
return xScale_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double xScale_native_constfct(long __this__nativeId);
/**
* See QGraphicsScale:: yScale()const
*/
@QtPropertyReader(name="yScale")
@QtUninvokable
public final double yScale(){
return yScale_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double yScale_native_constfct(long __this__nativeId);
/**
* See QGraphicsScale:: zScale()const
*/
@QtPropertyReader(name="zScale")
@QtUninvokable
public final double zScale(){
return zScale_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native double zScale_native_constfct(long __this__nativeId);
/**
* 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 QGraphicsScale(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QGraphicsScale(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QGraphicsScale instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QGraphicsScale(io.qt.core.QObject)}
* with parent = null
.
*/
public QGraphicsScale() {
this((io.qt.core.QObject)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #origin()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QVector3D getOrigin() {
return origin();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #xScale()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getXScale() {
return xScale();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #yScale()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getYScale() {
return yScale();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #zScale()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final double getZScale() {
return zScale();
}
}