toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.datastructure
/
Array2
/
Companion
Companion
object
Companion
Members
Functions
from
String
Link copied to clipboard
inline
fun
<
TGen
:
Any
>
fromString
(
maps
:
Map
<
Char
,
TGen
>
,
default
:
TGen
,
code
:
String
,
marginChar
:
Char
=
'\u0000'
)
:
Array2
<
TGen
>
invoke
Link copied to clipboard
inline operator
fun
<
TGen
:
Any
>
invoke
(
rows
:
List
<
List
<
TGen
>
>
)
:
Array2
<
TGen
>
inline operator
fun
<
TGen
:
Any
>
invoke
(
width
:
Int
,
height
:
Int
,
fill
:
TGen
)
:
Array2
<
TGen
>
inline operator
fun
<
TGen
:
Any
>
invoke
(
width
:
Int
,
height
:
Int
,
gen
:
(
n
:
Int
)
->
TGen
)
:
Array2
<
TGen
>
inline operator
fun
<
TGen
:
Any
>
invoke
(
map
:
String
,
default
:
TGen
,
transform
:
Map
<
Char
,
TGen
>
)
:
Array2
<
TGen
>
inline operator
fun
<
TGen
:
Any
>
invoke
(
map
:
String
,
marginChar
:
Char
=
'\u0000'
,
gen
:
(
char
:
Char
,
x
:
Int
,
y
:
Int
)
->
TGen
)
:
Array2
<
TGen
>
with
Gen
Link copied to clipboard
inline
fun
<
TGen
:
Any
>
withGen
(
width
:
Int
,
height
:
Int
,
gen
:
(
x
:
Int
,
y
:
Int
)
->
TGen
)
:
Array2
<
TGen
>