polyui
1.7.37
jvm
polyui
/
org.polyfrost.polyui.utils
/
PolyUIBuilder
Poly
UIBuilder
open
class
PolyUIBuilder
Java-style builder for creating a
PolyUI
instance.
Since
1.7.0
Members
Constructors
Poly
UIBuilder
Link copied to clipboard
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
settings
Link copied to clipboard
val
settings
:
Settings
size
Link copied to clipboard
@get:
JvmName
(
name
=
"getSize"
)
var
size
:
Vec2
Functions
align
Link copied to clipboard
fun
align
(
alignment
:
Align
)
:
PolyUIBuilder
background
Color
Link copied to clipboard
fun
backgroundColor
(
color
:
PolyColor
?
)
:
PolyUIBuilder
colors
Link copied to clipboard
fun
colors
(
colors
:
Colors
)
:
PolyUIBuilder
configure
Link copied to clipboard
inline
fun
configure
(
block
:
Settings
.
(
)
->
Unit
)
:
PolyUIBuilder
input
Link copied to clipboard
fun
input
(
manager
:
InputManager
?
)
:
PolyUIBuilder
make
Link copied to clipboard
open
fun
make
(
vararg
components
:
Component
)
:
PolyUI
renderer
Link copied to clipboard
fun
renderer
(
renderer
:
Renderer
?
)
:
PolyUIBuilder
size
Link copied to clipboard
@
JvmName
(
name
=
"size"
)
fun
size
(
size
:
Vec2
)
:
PolyUIBuilder
fun
size
(
width
:
Float
,
height
:
Float
)
:
PolyUIBuilder
translator
Link copied to clipboard
fun
translator
(
translator
:
Translator
?
)
:
PolyUIBuilder
translator
Delegate
Link copied to clipboard
fun
translatorDelegate
(
translationDir
:
String
)
:
PolyUIBuilder