Coverage
Superclasses: Object
- Constructors:
Coverage(**properties)
new() -> Pango.Coverage
Constructors
Methods
- class Coverage
- from_bytes(bytes: Sequence[int]) Coverage | None
Convert data generated from
to_bytes
back to aPangoCoverage
.Deprecated since version 1.44: This returns
None
- Parameters:
bytes – binary data representing a
PangoCoverage
- get(index_: int) CoverageLevel
Determine whether a particular index is covered by
coverage
.- Parameters:
index – the index to check
- max(other: Coverage) None
Set the coverage for each index in
coverage
to be the max (better) value of the current coverage for the index and the coverage for the corresponding index inother
.Deprecated since version 1.44: This function does nothing
- Parameters:
other – another
PangoCoverage
- set(index_: int, level: CoverageLevel) None
Modify a particular index within
coverage
- Parameters:
index – the index to modify
level – the new level for @``index_``