polyui
1.7.11
jvm
polyui
/
org.polyfrost.polyui.component.impl
/
Text
/
Text
Text
constructor
(
text
:
String
,
font
:
Font
?
=
null
,
fontSize
:
Float
=
12.0f
,
at
:
Vec2
=
Vec2.ZERO
,
alignment
:
Align
=
AlignDefault
,
visibleSize
:
Vec2
=
Vec2.ZERO
,
focusable
:
Boolean
=
false
,
limited
:
Boolean
=
false
,
vararg
children
:
Component
?
)
constructor
(
text
:
Translator.Text
,
font
:
Font
?
=
null
,
fontSize
:
Float
=
12.0f
,
at
:
Vec2
=
Vec2.ZERO
,
alignment
:
Align
=
AlignDefault
,
visibleSize
:
Vec2
=
Vec2.ZERO
,
focusable
:
Boolean
=
false
,
limited
:
Boolean
=
false
,
vararg
children
:
Component
?
)