- All Superinterfaces:
QtObjectInterface
Allows drawing of custom text objects in QTextDocuments
Java wrapper for Qt class QTextObjectInterface
-
Method Summary
Modifier and TypeMethodDescriptionvoid
drawObject
(QPainter painter, QRectF rect, QTextDocument doc, int posInDocument, QTextFormat format) default void
drawObject
(QPainter painter, QRect rect, QTextDocument doc, int posInDocument, QTextFormat format) intrinsicSize
(QTextDocument doc, int posInDocument, QTextFormat format) Methods inherited from interface io.qt.QtObjectInterface
dispose, isDisposed
-
Method Details
-
drawObject
@QtUninvokable void drawObject(QPainter painter, QRectF rect, QTextDocument doc, int posInDocument, QTextFormat format) - Parameters:
painter
-rect
-doc
-posInDocument
-format
-
-
intrinsicSize
- Parameters:
doc
-posInDocument
-format
-- Returns:
-
drawObject
@QtUninvokable default void drawObject(QPainter painter, QRect rect, QTextDocument doc, int posInDocument, QTextFormat format)
-