QAbstractTextDocumentLayout.PaintContext¶
The
PaintContext
class is a convenience class defining the parameters used when painting a document’s layout. More…
Detailed Description¶
A paint context is used when rendering custom layouts for QTextDocuments with the
draw()
function. It is specified by a cursor position , default text color , clip rectangle and a collection of selections .See also
-
class
PySide2.QtGui.QAbstractTextDocumentLayout.
PaintContext
¶ PySide2.QtGui.QAbstractTextDocumentLayout.PaintContext(PaintContext)
- Parameters
PaintContext –
PaintContext
-
PySide2.QtGui.QAbstractTextDocumentLayout.PaintContext.
cursorPosition
¶
-
PySide2.QtGui.QAbstractTextDocumentLayout.PaintContext.
palette
¶
-
PySide2.QtGui.QAbstractTextDocumentLayout.PaintContext.
clip
¶
© 2018 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.