Class: QgsTileRange¶
-
class
qgis.core.
QgsTileRange
(c1: int = - 1, c2: int = - 1, r1: int = - 1, r2: int = - 1)¶ Bases:
sip.wrapper
Constructs a range of tiles from given span of columns and rows
QgsTileRange(
QgsTileRange
)Range of tiles in a tile matrix to be rendered. The selection is rectangular, given by start/end row and column numbers.
New in version 3.14.
- Parameters
c1 (int = -1) –
c2 (int = -1) –
r1 (int = -1) –
r2 –
-
endColumn
(self) → int¶ Returns index of the last column in the range
- Return type
int
-
endRow
(self) → int¶ Returns index of the last row in the range
- Return type
int
-
isValid
(self) → bool¶ Returns whether the range is valid (when all row/column numbers are not negative)
- Return type
bool
-
startColumn
(self) → int¶ Returns index of the first column in the range
- Return type
int
-
startRow
(self) → int¶ Returns index of the first row in the range
- Return type
int