QAbstractTextDocumentLayout.PaintContext 类是定义使用参数的方便类,当描绘文档布局时。
A paint context is used when rendering custom layouts for QTextDocuments with the QAbstractTextDocumentLayout.draw() function. It is specified by a cursor position , default text color , clip rectangle and a collection of selections .
| 参数: | PaintContext – PySide.QtGui.QAbstractTextDocumentLayout::PaintContext |
|---|