Class: QgsIntRange¶
QgsRange
which stores a range of integer values.
See also
See also
See also
Class Hierarchy¶
Base classes¶
A template based class for storing ranges (lower to upper values). |
Methods
Returns |
- class qgis.core.QgsIntRange[source]¶
Bases:
QgsRangeintBase
- __init__(lower: int, upper: int, limits: Qgis.RangeLimits)
Constructor for QgsIntRange. The
lower
andupper
bounds are specified, and whether or not these bounds are included in the range.Added in version 3.38.
- Parameters:
lower (int)
upper (int)
limits (Qgis.RangeLimits)
- __init__(lower: int, upper: int, includeLower: bool = True, includeUpper: bool = True)
Constructor for QgsIntRange. The
lower
andupper
bounds are specified, and optionally whether or not these bounds are included in the range.- Parameters:
lower (int)
upper (int)
includeLower (bool = True)
includeUpper (bool = True)
- __init__()
Constructor for QgsIntRange containing an infinite range (see
isInfinite()
).Added in version 3.18.
- __init__(a0: QgsIntRange)
- Parameters:
a0 (QgsIntRange)