QText2DEntity Class

(Qt3DExtras::QText2DEntity)

Public Functions

QColor color() const
QFont font() const
float height() const
QString text() const
float width() const

Additional Inherited Members

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().

Member Variable Documentation

Related Non-Members

Macro Documentation