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