toggle menu
doodle
0.10.3
common
switch theme
search in API
themes
/
io.nacular.doodle.theme.basic.list
/
BasicHorizontalListPositioner
Basic
Horizontal
List
Positioner
open
class
BasicHorizontalListPositioner
<
T
>
(
val
width
:
Double
,
numRows
:
Int
=
1
,
val
spacing
:
Double
=
0.0
)
:
HorizontalListPositioner
,
ListBehavior.ItemPositioner
<
T
>
(
source
)
Members
Constructors
Basic
Horizontal
List
Positioner
Link copied to clipboard
constructor
(
width
:
Double
,
numRows
:
Int
=
1
,
spacing
:
Double
=
0.0
)
Inherited properties
num
Rows
Link copied to clipboard
protected
val
numRows
:
Int
spacing
Link copied to clipboard
protected
open
val
spacing
:
Double
=
0.0
width
Link copied to clipboard
protected
open
val
width
:
Double
Functions
item
Link copied to clipboard
open
override
fun
item
(
of
:
List
<
T
,
*
>
,
at
:
Point
)
:
Int
item
Bounds
Link copied to clipboard
open
override
fun
itemBounds
(
of
:
List
<
T
,
*
>
,
item
:
T
,
index
:
Int
,
view
:
View
?
)
:
Rectangle
minimum
Size
Link copied to clipboard
open
override
fun
minimumSize
(
of
:
List
<
T
,
*
>
)
:
Size
Inherited functions
item
Bounds
Link copied to clipboard
fun
itemBounds
(
size
:
Size
,
insets
:
Insets
,
index
:
Int
,
current
:
View
?
=
null
)
:
Rectangle
item
For
Link copied to clipboard
fun
itemFor
(
size
:
Size
,
insets
:
Insets
,
at
:
Point
)
:
Int
minimum
Size
Link copied to clipboard
fun
minimumSize
(
numItems
:
Int
,
insets
:
Insets
)
:
Size