type
Transform
src
@Js
@Serializable { simple=true }
const class Transform : Obj
Transform models an affine transformation matrix:
|a c e| |b d f| |0 0 1|
constructors
fields
methods
equals |
Equality is based on string format |
---|---|
hash |
Hash code is based on string format |
mult |
Multiply this matrix by given matrix and return result as new instance |
rotate |
Rotate angle in degrees |
scale |
Scale transform |
skewX |
Skew x by angle in degrees |
skewY |
Skew y by angle in degrees |
toStr |
Return in |
translate |
Translate transform |