polyui
1.7.4
jvm
polyui
/
org.polyfrost.polyui.component.impl
/
Button
Button
@
JvmName
(
name
=
"Button"
)
fun
Button
(
leftImage
:
PolyImage
?
=
null
,
text
:
String
?
=
null
,
rightImage
:
PolyImage
?
=
null
,
fontSize
:
Float
=
12.0f
,
font
:
Font
?
=
null
,
radii
:
FloatArray
=
floatArrayOf(8f)
,
padding
:
Vec2
=
Vec2(12f, 6f)
,
at
:
Vec2
=
Vec2.ZERO
,
size
:
Vec2
=
Vec2.ZERO
)
:
Block