Class: QgsTileRange¶
- class qgis.core.QgsTileRange¶
Bases:
sip.wrapper
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.
QgsTileRange(c1: int = -1, c2: int = -1, r1: int = -1, r2: int = -1) Constructs a range of tiles from given span of columns and rows
QgsTileRange(
QgsTileRange
)Methods
Returns index of the last column in the range
Returns index of the last row in the range
Returns whether the range is valid (when all row/column numbers are not negative)
Returns index of the first column in the range
Returns index of the first row in the range
- 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