Class: QgsIntRange¶
- class qgis.core.QgsIntRange(lower: int, upper: int, includeLower: bool = True, includeUpper: bool = True)¶
Bases:
QgsRangeintBase
Constructor for
QgsIntRange
. Thelower
andupper
bounds are specified, and optionally whether or not these bounds are included in the range.QgsIntRange() Constructor for
QgsIntRange
containing an infinite range (seeisInfinite()
).New in version 3.18.
QgsIntRange(
QgsIntRange
)QgsRange
which stores a range of integer values.See also
See also
See also
- isInfinite(self) → bool¶
Returns
True
if the range consists of all possible values.New in version 3.18.
- Return type
bool