![JAR search and dependency download from the Maven repository](/logo.png)
io.qt.qt3d.render.QLineWidth Maven / Gradle / Ivy
package io.qt.qt3d.render;
import io.qt.*;
/**
* Specifies the width of rasterized lines
* Java wrapper for Qt class Qt3DRender::QLineWidth
*/
public class QLineWidth extends io.qt.qt3d.render.QRenderState
{
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QLineWidth.class);
/**
* See Qt3DRender::QLineWidth:: smoothChanged(bool)
*/
@QtPropertyNotify(name="smooth")
public final @NonNull Signal1 smoothChanged = new Signal1<>();
/**
* See Qt3DRender::QLineWidth:: valueChanged(float)
*/
@QtPropertyNotify(name="value")
public final @NonNull Signal1 valueChanged = new Signal1<>();
/**
* See Qt3DRender::QLineWidth:: QLineWidth(Qt3DCore::QNode*)
* @param parent
*/
@SuppressWarnings({"exports"})
public QLineWidth(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QLineWidth instance, io.qt.qt3d.core.QNode parent);
/**
* See Qt3DRender::QLineWidth:: setSmooth(bool)
* @param enabled
*/
@QtPropertyWriter(name="smooth")
public final void setSmooth(boolean enabled){
setSmooth_native_bool(QtJambi_LibraryUtilities.internal.nativeId(this), enabled);
}
private native void setSmooth_native_bool(long __this__nativeId, boolean enabled);
/**
* See Qt3DRender::QLineWidth:: setValue(float)
* @param value
*/
@QtPropertyWriter(name="value")
public final void setValue(float value){
setValue_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), value);
}
private native void setValue_native_float(long __this__nativeId, float value);
/**
* See Qt3DRender::QLineWidth:: smooth()const
* @return
*/
@QtPropertyReader(name="smooth")
@QtUninvokable
public final boolean smooth(){
return smooth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native boolean smooth_native_constfct(long __this__nativeId);
/**
* See Qt3DRender::QLineWidth:: value()const
* @return
*/
@QtPropertyReader(name="value")
@QtUninvokable
public final float value(){
return value_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float value_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
* @hidden
*/
@NativeAccess
protected QLineWidth(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
* @hidden
*/
@NativeAccess
protected QLineWidth(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QLineWidth instance, QDeclarativeConstructor constructor);
/**
* Overloaded constructor for {@link #QLineWidth(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QLineWidth() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #smooth()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final boolean getSmooth() {
return smooth();
}
/**
* @hidden
* Kotlin property getter. In Java use {@link #value()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getValue() {
return value();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy