toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-foundation
/
korlibs.math.geom.binpack
/
MaxRects
Max
Rects
class
MaxRects
(
maxSize
:
Size
)
:
BinPacker.Algo
Members
Constructors
Max
Rects
Link copied to clipboard
constructor
(
width
:
Float
,
height
:
Float
)
constructor
(
width
:
Double
,
height
:
Double
)
constructor
(
maxSize
:
Size
)
Properties
free
Rectangles
Link copied to clipboard
var
freeRectangles
:
FastArrayList
<
Rectangle
>
Functions
add
Link copied to clipboard
open
override
fun
add
(
size
:
Size
)
:
Rectangle
?
quick
Insert
Link copied to clipboard
fun
quickInsert
(
size
:
Size
)
:
Rectangle
?