java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTextItem
- All Implemented Interfaces:
QtObjectInterface
public class QTextItem extends QtObject
All the information required to draw text in a custom paint engine
Java wrapper for Qt class QTextItem
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QTextItem.RenderFlag
Java wrapper for Qt enum QTextItem::RenderFlagstatic class
QTextItem.RenderFlags
QFlags type for enumQTextItem.RenderFlag
-
Constructor Summary
Constructors Modifier Constructor Description QTextItem()
protected
QTextItem(QtObject.QPrivateConstructor p)
Constructor for internal use only. -
Method Summary
Modifier and Type Method Description double
ascent()
double
descent()
QFont
font()
QTextItem.RenderFlags
renderFlags()
String
text()
double
width()