io.qt.qt3d.extras.QExtrudedTextMesh Maven / Gradle / Ivy
Show all versions of qtjambi-qt3dextras Show documentation
package io.qt.qt3d.extras;
import io.qt.*;
/**
* A 3D extruded Text mesh
* Java wrapper for Qt's class Qt3DExtras::QExtrudedTextMesh
*/
public class QExtrudedTextMesh extends io.qt.qt3d.render.QGeometryRenderer
{
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(QExtrudedTextMesh.class);
/**
* See Qt3DExtras::QExtrudedTextMesh::depthChanged(float)
*/
@QtPropertyNotify(name="depth")
public final @NonNull Signal1 depthChanged = new Signal1<>();
/**
* See Qt3DExtras::QExtrudedTextMesh::fontChanged(QFont)
*/
@QtPropertyNotify(name="font")
public final @NonNull Signal1 fontChanged = new Signal1<>();
/**
* See Qt3DExtras::QExtrudedTextMesh::textChanged(QString)
*/
@QtPropertyNotify(name="text")
public final @NonNull Signal1 textChanged = new Signal1<>();
/**
* Overloaded constructor for {@link #QExtrudedTextMesh(io.qt.qt3d.core.QNode)}
* with parent = null
.
*/
public QExtrudedTextMesh() {
this((io.qt.qt3d.core.QNode)null);
}
/**
* See Qt3DExtras::QExtrudedTextMesh::QExtrudedTextMesh(Qt3DCore::QNode*)
*/
@SuppressWarnings({"exports"})
public QExtrudedTextMesh(io.qt.qt3d.core.@Nullable QNode parent){
super((QPrivateConstructor)null);
initialize_native(this, parent);
}
private native static void initialize_native(QExtrudedTextMesh instance, io.qt.qt3d.core.QNode parent);
/**
* Kotlin property getter. In Java use {@link #depth()} instead.
*/
@QtPropertyReader(enabled=false)
@QtUninvokable
public final float getDepth() {
return depth();
}
/**
* See Qt3DExtras::QExtrudedTextMesh::depth()const
*/
@QtPropertyReader(name="depth")
@QtUninvokable
public final float depth(){
return depth_native_constfct(QtJambi_LibraryUtilities.internal.nativeId(this));
}
@QtUninvokable
private native float depth_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::QExtrudedTextMesh::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);
/**
* See Qt3DExtras::QExtrudedTextMesh::setDepth(float)
*/
@QtPropertyWriter(name="depth")
public final void setDepth(float depth){
setDepth_native_float(QtJambi_LibraryUtilities.internal.nativeId(this), depth);
}
private native void setDepth_native_float(long __this__nativeId, float depth);
/**
* See Qt3DExtras::QExtrudedTextMesh::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::QExtrudedTextMesh::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::QExtrudedTextMesh::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 QExtrudedTextMesh(QPrivateConstructor p) { super(p); }
/**
* Constructor for internal use only.
* It is not allowed to call the declarative constructor from inside Java.
*/
@NativeAccess
protected QExtrudedTextMesh(QDeclarativeConstructor constructor) {
super((QPrivateConstructor)null);
initialize_native(this, constructor);
}
@QtUninvokable
private static native void initialize_native(QExtrudedTextMesh instance, QDeclarativeConstructor constructor);
}