toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.component
Package-level
declarations
Functions
Functions
decorate
Out
Over
Link copied to clipboard
fun
<
T
:
View
>
T
.
decorateOutOver
(
onEvent
:
(
view
:
T
,
over
:
Boolean
)
->
Unit
=
{ view, over -> }
)
:
T
decorate
Out
Over
Alpha
Link copied to clipboard
fun
<
T
:
View
>
T
.
decorateOutOverAlpha
(
alpha
:
(
over
:
Boolean
)
->
Double
=
{ if (it) 1.0 else 0.75 }
)
:
T
on
Attach
Detach
Link copied to clipboard
fun
<
T
:
View
>
T
.
onAttachDetach
(
onAttach
:
Views
.
(
T
)
->
Unit
=
{}
,
onDetach
:
Views
.
(
T
)
->
Unit
=
{}
)
:
T
on
New
Attach
Detach
Link copied to clipboard
fun
<
T
:
View
>
T
.
onNewAttachDetach
(
onAttach
:
Views
.
(
T
)
->
Unit
=
{}
,
onDetach
:
Views
.
(
T
)
->
Unit
=
{}
)
:
Closeable
register
Stage
Component
Link copied to clipboard
fun
Views
.
registerStageComponent
(
view
:
View
)
Enables the use of StageComponent components.