Enum QSGTextNode.RenderType

java.lang.Object
java.lang.Enum<QSGTextNode.RenderType>
io.qt.quick.QSGTextNode.RenderType
All Implemented Interfaces:
QtAbstractEnumerator, QtByteEnumerator, Serializable, Comparable<QSGTextNode.RenderType>, Constable
Enclosing class:
QSGTextNode

public static enum QSGTextNode.RenderType extends Enum<QSGTextNode.RenderType> implements QtByteEnumerator

Java wrapper for Qt enum QSGTextNode::RenderType

Since:
This class was introduced in Qt 6.7.

The following private functions are pure virtual in Qt and thus have to be implemented in derived Java classes by using the @QtPrivateOverride annotation:


@QtPrivateOverride
    @QtUninvokable
    private void doAddTextDocument(io.qt.core.@NonNull QPointF position, io.qt.gui.@Nullable QTextDocument document, int selectionStart, int selectionCount) {...}

@QtPrivateOverride
    @QtUninvokable
    private void doAddTextLayout(io.qt.core.@NonNull QPointF position, io.qt.gui.@Nullable QTextLayout layout, int selectionStart, int selectionCount, int lineStart, int lineCount) {...}
  • Enum Constant Details

  • Method Details

    • values

      public static QSGTextNode.RenderType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static QSGTextNode.RenderType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public byte value()
      This function should return a byte value for the enum values of the enumeration that implements this interface.
      Specified by:
      value in interface QtByteEnumerator
    • resolve

      public static QSGTextNode.RenderType resolve(byte value)
      Returns the corresponding enum entry for the given value.
      Parameters:
      value -
      Returns:
      enum entry