toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom
/
Matrix
/
Companion
/
fromTransform
from
Transform
fun
fromTransform
(
transform
:
MatrixTransform
,
pivotX
:
Double
=
0.0
,
pivotY
:
Double
=
0.0
)
:
Matrix
fun
fromTransform
(
x
:
Double
,
y
:
Double
,
rotation
:
Angle
=
Angle.ZERO
,
scaleX
:
Double
=
1.0
,
scaleY
:
Double
=
1.0
,
skewX
:
Angle
=
Angle.ZERO
,
skewY
:
Angle
=
Angle.ZERO
,
pivotX
:
Double
=
0.0
,
pivotY
:
Double
=
0.0
)
:
Matrix