QText2DEntity Class
(Qt3DExtras::QText2DEntity)Inherits: | Qt3DCore::QEntity |
Public Functions
QColor | color() const |
QFont | font() const |
float | height() const |
QString | text() const |
float | width() const |
- 4 public functions inherited from Qt3DCore::QEntity
- 6 public functions inherited from Qt3DCore::QNode
Additional Inherited Members
- 3 properties inherited from Qt3DCore::QNode
- 1 signal inherited from Qt3DCore::QNode
- 2 protected functions inherited from Qt3DCore::QNode
Member Type Documentation
Property Documentation
Member Function Documentation
QColor QText2DEntity::color() const
Returns the color for the text item that is displayed in the Qt Quick scene.
Note: Getter function for property color.
See also setColor().
QFont QText2DEntity::font() const
Returns the font for the text item that is displayed in the Qt Quick scene.
Note: Getter function for property font.
See also setFont().
float QText2DEntity::height() const
Returns the width of the text item that is displayed in the Qt Quick scene.
Note: Getter function for property height.
See also setHeight().
QString QText2DEntity::text() const
Returns the text that is displayed in the Qt Quick scene.
Note: Getter function for property text.
See also setText().
float QText2DEntity::width() const
Returns the width of the text item that is displayed in the Qt Quick scene.
Note: Getter function for property width.
See also setWidth().