littlekt
0.6.0
common
core
/
com.lehaine.littlekt.util.packer
/
Packer
Packer
interface
Packer
Author
Colton Daily
Functions
Inheritors
Functions
add
Link copied to clipboard
abstract
fun
add
(
rect
:
BinRect
)
:
BinRect
open
fun
add
(
rects
:
List
<
BinRect
>
)
open
fun
add
(
width
:
Int
,
height
:
Int
,
data
:
Map
<
String
,
Any
>
=
mapOf()
)
:
BinRect
load
Link copied to clipboard
abstract
fun
load
(
bins
:
List
<
Bin
>
)
next
Link copied to clipboard
abstract
fun
next
(
)
:
Int
repack
Link copied to clipboard
abstract
fun
repack
(
quick
:
Boolean
=
true
)
reset
Link copied to clipboard
abstract
fun
reset
(
)
save
Link copied to clipboard
abstract
fun
save
(
)
:
List
<
Bin
>
sort
Link copied to clipboard
abstract
fun
sort
(
rects
:
List
<
BinRect
>
)
:
List
<
BinRect
>
Inheritors
MaxRectsPacker
Link copied to clipboard