Skip to main content

Function: tileTransform()

tileTransform(matrix, tile): Affine

Defined in: transform.ts:46

Construct an affine transform for a single tile identified by its column and row indices within the matrix. Pixel (0, 0) is the top-left corner of this tile.

This is always possible: even when variableMatrixWidths is present, each individual tile is a plain rectangular pixel grid with a well-defined, axis-aligned footprint. Coalescence only stretches the tile in X; Y is unaffected.

Parameters

matrix

TileMatrix

tile

col

number

row

number

Returns

Affine