Interface: MapCachedCanvasLayerTransform
Defined in: src/sdk/components/map/layers/MapCachedCanvasLayer.ts:77
A description of the transformation of a MapCachedCanvasLayer's canvas element.
Properties
margin
readonly
margin:number
Defined in: src/sdk/components/map/layers/MapCachedCanvasLayer.ts:88
The total margin, in pixels, available for translation without invalidating the canvas with this transform's scale factor taken into account.
marginRemaining
readonly
marginRemaining:number
Defined in: src/sdk/components/map/layers/MapCachedCanvasLayer.ts:93
The remaining margin, in pixels, available for translation without invalidating the canvas given this transform's current translation and scale factor.
rotation
readonly
rotation:number
Defined in: src/sdk/components/map/layers/MapCachedCanvasLayer.ts:81
The rotation angle, in radians, of this transform.
scale
readonly
scale:number
Defined in: src/sdk/components/map/layers/MapCachedCanvasLayer.ts:79
The scaling factor of this transform.
translation
readonly
translation:Float64Array
Defined in: src/sdk/components/map/layers/MapCachedCanvasLayer.ts:83
The translation, in pixels, of this transform.