littlekt
0.6.0
common
core
/
com.lehaine.littlekt.util.packer
/
SimpleBin
Simple
Bin
class
SimpleBin
(
val
width
:
Int
,
val
height
:
Int
,
val
freeRects
:
List
<
BinRect
>
=
listOf()
,
val
rects
:
List
<
BinRect
>
=
listOf()
,
val
options
:
PackingOptions
=
PackingOptions()
,
val
data
:
Map
<
String
,
Any
>
=
mapOf()
)
:
Bin
Constructors
Functions
Properties
Constructors
Simple
Bin
Link copied to clipboard
fun
SimpleBin
(
width
:
Int
,
height
:
Int
,
freeRects
:
List
<
BinRect
>
=
listOf()
,
rects
:
List
<
BinRect
>
=
listOf()
,
options
:
PackingOptions
=
PackingOptions()
,
data
:
Map
<
String
,
Any
>
=
mapOf()
)
Functions
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
Properties
data
Link copied to clipboard
open
override
val
data
:
Map
<
String
,
Any
>
free
Rects
Link copied to clipboard
open
override
val
freeRects
:
List
<
BinRect
>
height
Link copied to clipboard
open
override
val
height
:
Int
max
Height
Link copied to clipboard
open
val
maxHeight
:
Int
max
Width
Link copied to clipboard
open
val
maxWidth
:
Int
options
Link copied to clipboard
open
override
val
options
:
PackingOptions
rects
Link copied to clipboard
open
override
val
rects
:
List
<
BinRect
>
width
Link copied to clipboard
open
override
val
width
:
Int