toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.view
/
QView
QView
class
QView
(
val
views
:
List
<
View
>
)
:
List
<
View
>
,
BView
Members
Members & Extensions
Constructors
QView
Link copied to clipboard
constructor
(
view
:
View
?
)
constructor
(
views
:
List
<
View
>
)
Properties
alpha
Link copied to clipboard
var
alpha
:
Double
bview
Link copied to clipboard
open
override
val
bview
:
View
bview
All
Link copied to clipboard
open
override
val
bviewAll
:
List
<
View
>
color
Mul
Link copied to clipboard
var
colorMul
:
RGBA
first
Link copied to clipboard
val
first
:
View
first
Or
Null
Link copied to clipboard
val
firstOrNull
:
View
?
rotation
Link copied to clipboard
var
rotation
:
Angle
scale
Link copied to clipboard
var
scale
:
Double
scale
Avg
Link copied to clipboard
var
scaleAvg
:
Double
scale
X
Link copied to clipboard
var
scaleX
:
Double
scale
XY
Link copied to clipboard
var
scaleXY
:
Scale
scale
Y
Link copied to clipboard
var
scaleY
:
Double
size
Link copied to clipboard
open
override
val
size
:
Int
skew
X
Link copied to clipboard
var
skewX
:
Angle
skew
Y
Link copied to clipboard
var
skewY
:
Angle
views
Link copied to clipboard
val
views
:
List
<
View
>
visible
Link copied to clipboard
var
visible
:
Boolean
x
Link copied to clipboard
var
x
:
Double
y
Link copied to clipboard
var
y
:
Double
Functions
alpha
Link copied to clipboard
fun
QView
.
alpha
(
value
:
Double
)
bview
Fast
For
Each
Link copied to clipboard
inline
fun
BView
.
bviewFastForEach
(
block
:
(
view
:
View
)
->
Unit
)
cast
To
Link copied to clipboard
inline
fun
<
T
:
View
>
QView
.
castTo
(
)
:
T
?
composed
Or
Null
Link copied to clipboard
fun
List
<
Filter
?
>
.
composedOrNull
(
)
:
Filter
?
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
View
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
View
>
)
:
Boolean
fast
For
Each
Link copied to clipboard
inline
fun
fastForEach
(
callback
:
(
View
)
->
Unit
)
get
Link copied to clipboard
operator
fun
get
(
name
:
String
)
:
QView
open
operator override
fun
get
(
index
:
Int
)
:
View
index
Of
Link copied to clipboard
open
override
fun
indexOf
(
element
:
View
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
View
>
last
Index
Of
Link copied to clipboard
open
override
fun
lastIndexOf
(
element
:
View
)
:
Int
list
Iterator
Link copied to clipboard
open
override
fun
listIterator
(
)
:
ListIterator
<
View
>
open
override
fun
listIterator
(
index
:
Int
)
:
ListIterator
<
View
>
on
Click
Link copied to clipboard
fun
QView
.
onClick
(
handler
:
suspend
(
MouseEvents
)
->
Unit
)
set
Html
Link copied to clipboard
fun
QView
.
setHtml
(
html
:
String
)
set
Property
Link copied to clipboard
fun
<
T
>
setProperty
(
prop
:
KMutableProperty1
<
View
,
T
>
,
value
:
T
)
set
Text
Link copied to clipboard
fun
QView
.
setText
(
text
:
String
)
sub
List
Link copied to clipboard
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
List
<
View
>
tween
Link copied to clipboard
suspend
fun
QView
.
tween
(
vararg
vs
:
V2
<
*
>
,
time
:
TimeSpan
=
DEFAULT_TIME
,
easing
:
Easing
=
DEFAULT_EASING
,
waitTime
:
TimeSpan
=
TimeSpan.NIL
,
callback
:
(
Float
)
->
Unit
=
{ }
)
visible
Link copied to clipboard
fun
QView
.
visible
(
value
:
Boolean
)