Class: QgsIntRange¶
- class qgis.core.QgsIntRange¶
Bases:
QgsRangeintBase
QgsRange
which stores a range of integer values.See also
See also
See also
QgsIntRange(lower: int, upper: int, limits: Qgis.RangeLimits) Constructor for
QgsIntRange
. Thelower
andupper
bounds are specified, and whether or not these bounds are included in the range.Added in version 3.38.
QgsIntRange(lower: int, upper: int, includeLower: bool = True, includeUpper: bool = True) 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()
).Added in version 3.18.
QgsIntRange(a0:
QgsIntRange
)- isInfinite(self) bool ¶
Returns
True
if the range consists of all possible values.Added in version 3.18.
- Return type:
bool