QTextLayout.FormatRange

The FormatRange structure is used to apply extra formatting information for a specified area in the text layout’s content. More

Inheritance diagram of PySide2.QtGui.QTextLayout.FormatRange

Detailed Description

See also

setFormats() draw()

class PySide2.QtGui.QTextLayout.FormatRange

PySide2.QtGui.QTextLayout.FormatRange(FormatRange)

Parameters

FormatRangeFormatRange

PySide2.QtGui.QTextLayout.FormatRange.start
PySide2.QtGui.QTextLayout.FormatRange.length
PySide2.QtGui.QTextLayout.FormatRange.format