io.qt.qt3d.extras.QExtrudedTextGeometry Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* Allows creation of a 3D extruded text in 3D space
* Java wrapper for Qt's class Qt3DExtras::QExtrudedTextGeometry
*/
public class QExtrudedTextGeometry extends io.qt.qt3d.core.QGeometry
{
static {
QtJambi_LibraryUtilities.initialize();
}
/**
* This variable stores the meta-object for the class.
*/
public static final io.qt.core.@NonNull QMetaObject staticMetaObject = io.qt.core.QMetaObject.forType(QExtrudedTextGeometry.class);
/**
* See Qt3DExtras::QExtrudedTextGeometry::depthChanged(float)
*/
@QtPropertyNotify(name="extrusionLength")
public final @NonNull Signal1 depthChanged = new Signal1<>();
/**
* See Qt3DExtras::QExtrudedTextGeometry::fontChanged(QFont)
*/
@QtPropertyNotify(name="font")
public final @NonNull Signal1 fontChanged = new Signal1<>();
/**
* See Qt3DExtras::QExtrudedTextGeometry::textChanged(QString)
*/
@QtPropertyNotify(name="text")
public final @NonNull Signal1 textChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QExtrudedTextGeometry(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QExtrudedTextGeometry() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* See Qt3DExtras::QExtrudedTextGeometry::QExtrudedTextGeometry(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QExtrudedTextGeometry(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QExtrudedTextGeometry instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #extrusionLength()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getExtrusionLength() {
return extrusionLength();
}
/**
* See Qt3DExtras::QExtrudedTextGeometry::extrusionLength()const
*/
@QtPropertyReader(name="extrusionLength")
@QtUninvokable
public final float extrusionLength(){
return extrusionLength_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float extrusionLength_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #font()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final io.qt.gui.@NonNull QFont getFont() {
return font();
}
/**
* See Qt3DExtras::QExtrudedTextGeometry::font()const
*/
@QtPropertyReader(name="font")
@QtUninvokable
public final io.qt.gui.@NonNull QFont font(){
return font_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.gui.QFont font_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #indexAttribute()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QAttribute getIndexAttribute() {
return indexAttribute();
}
/**
* See Qt3DExtras::QExtrudedTextGeometry::indexAttribute()const
*/
@QtPropertyReader(name="indexAttribute")
@QtPropertyConstant
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QAttribute indexAttribute(){
return indexAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.core.QAttribute indexAttribute_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #normalAttribute()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QAttribute getNormalAttribute() {
return normalAttribute();
}
/**
* See Qt3DExtras::QExtrudedTextGeometry::normalAttribute()const
*/
@QtPropertyReader(name="normalAttribute")
@QtPropertyConstant
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QAttribute normalAttribute(){
return normalAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.core.QAttribute normalAttribute_native_constfct(long __this__nativeId);
/**
* Kotlin property getter. In Java use {@link #positionAttribute()} instead.
*/
@QtPropertyReader(enabled=false)
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QAttribute getPositionAttribute() {
return positionAttribute();
}
/**
* See Qt3DExtras::QExtrudedTextGeometry::positionAttribute()const
*/
@QtPropertyReader(name="positionAttribute")
@QtPropertyConstant
@SuppressWarnings({"exports"})
@QtUninvokable
public final io.qt.qt3d.core.@Nullable QAttribute positionAttribute(){
return positionAttribute_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native io.qt.qt3d.core.QAttribute positionAttribute_native_constfct(long __this__nativeId);
/**
* See Qt3DExtras::QExtrudedTextGeometry::setDepth(float)
*/
@QtPropertyWriter(name="extrusionLength")
public final void setDepth(float extrusionLength){
setDepth_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), extrusionLength);
}
private native void setDepth_native_float(long __this__nativeId, float extrusionLength);
/**
* See Qt3DExtras::QExtrudedTextGeometry::setFont(QFont)
*/
@QtPropertyWriter(name="font")
public final void setFont(io.qt.gui.@NonNull QFont font){
setFont_native_cref_QFont(QtJambi_LibraryUtilities.internal.nativeId(this), QtJambi_LibraryUtilities.internal.checkedNativeId(font));
}
private native void setFont_native_cref_QFont(long __this__nativeId, long font);
/**
* See Qt3DExtras::QExtrudedTextGeometry::setText(QString)
*/
@QtPropertyWriter(name="text")
public final void setText(java.lang.@NonNull String text){
setText_native_cref_QString(QtJambi_LibraryUtilities.internal.nativeId(this), text);
}
private native void setText_native_cref_QString(long __this__nativeId, java.lang.String text);
/**
* Kotlin property getter. In Java use {@link #text()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final java.lang.@NonNull String getText() {
return text();
}
/**
* See Qt3DExtras::QExtrudedTextGeometry::text()const
*/
@QtPropertyReader(name="text")
@QtUninvokable
public final java.lang.@NonNull String text(){
return text_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native java.lang.String text_native_constfct(long __this__nativeId);
/**
* Constructor for internal use only.
* @param p expected to be null
.
*/
@NativeAccess
protected QExtrudedTextGeometry(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QExtrudedTextGeometry(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QExtrudedTextGeometry instance, QDeclarativeConstructor constructor);
}