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

endColumn

Returns index of the last column in the range

endRow

Returns index of the last row in the range

isValid

Returns whether the range is valid (when all row/column numbers are not negative)

startColumn

Returns index of the first column in the range

startRow

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