FormatRange¶

PyQt5.QtGui.QTextLayout.FormatRange

Description¶

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

See also

draw(), setFormats().

Attributes¶

format: QTextCharFormat

Specifies the format to apply.


length: int

Specifies the numer of characters the format range spans.


start: int

Specifies the beginning of the format range within the text layout’s text.

Methods¶

__init__()

TODO


__init__(FormatRange)

TODO


__eq__(FormatRange) → bool

TODO


__ne__(FormatRange) → bool

TODO