toggle menu
doodle
0.10.3
common
switch theme
search in API
themes
/
io.nacular.doodle.theme.basic
/
HorizontalListPositioner
Horizontal
List
Positioner
open
class
HorizontalListPositioner
(
val
width
:
Double
,
numRows
:
Int
=
1
,
val
spacing
:
Double
=
0.0
)
(
source
)
Inheritors
BasicHorizontalListPositioner
Members
Constructors
Horizontal
List
Positioner
Link copied to clipboard
constructor
(
width
:
Double
,
numRows
:
Int
=
1
,
spacing
:
Double
=
0.0
)
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
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