polyui
1.7.31
jvm
polyui
/
org.polyfrost.polyui.operations
/
Resize
/
Resize
Resize
constructor
(
drawable
:
S
,
size
:
Vec2
,
add
:
Boolean
=
true
,
animation
:
Animation
?
=
null
,
onFinish
:
S
.
(
)
->
Unit
?
=
null
)
constructor
(
drawable
:
S
,
width
:
Float
=
drawable.width
,
height
:
Float
=
drawable.height
,
add
:
Boolean
=
true
,
animation
:
Animation
?
=
null
,
onFinish
:
S
.
(
)
->
Unit
?
=
null
)