Class globals canvas api transform Transform
------------------------------------------------------------------------------- Transform ------------------------------------------------------------------------------- A transformation matrix which is used to transform an #Element on the canvas. The dimensions of the matrix are 3x3 where the last row is always 0 0 1: a c e b d f 0 0 1 See http://www.w3.org/TR/SVG/coords.html#TransformMatrixDefined for details. https://www.w3.org/TR/css-transforms-1/#mathematical-description
Functions
setGeoPosition
this function is called very often, if a canvas map is active and the aircraft symbol is shown.
setRotation
Set rotation (Optionally around a specified point instead of (0,0)) setRotation(rot) setRotation(rot, cx, cy) @note If using with rotation center different to (0,0) do not use #setTranslation as it would interfere with the rotation.
setScale
Set scale (either as parameters or array) If only one parameter is given its value is used for both x and y setScale(x, y) setScale([x, y])