Search
Preparing search index...
The search index is not available
maxrects-packer - v2.7.0
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
"abstract-bin"
Bin
Class Bin<T>
Type parameters
T
:
IRectangle
Hierarchy
Bin
MaxRectsBin
OversizedElementBin
Implements
IBin
Index
Properties
_dirty
data
free
Rects
height
max
Height
max
Width
options
rects
tag
width
Accessors
dirty
Methods
add
clone
repack
reset
set
Dirty
Properties
Protected
_dirty
_dirty
:
number
= 0
Optional
data
data
:
any
free
Rects
free
Rects
:
IRectangle
[]
height
height
:
number
max
Height
max
Height
:
number
max
Width
max
Width
:
number
options
options
:
IOption
rects
rects
:
T
[]
Optional
tag
tag
:
undefined
|
string
width
width
:
number
Accessors
dirty
get
dirty
(
)
:
boolean
Returns
boolean
Methods
Abstract
add
add
(
rect
:
T
)
:
T
|
undefined
add
(
width
:
number
, height
:
number
, data
:
any
)
:
T
|
undefined
Parameters
rect:
T
Returns
T
|
undefined
Parameters
width:
number
height:
number
data:
any
Returns
T
|
undefined
Abstract
clone
clone
(
)
:
Bin
<
T
>
Returns
Bin
<
T
>
Abstract
repack
repack
(
)
:
T
[]
|
undefined
Returns
T
[]
|
undefined
Abstract
reset
reset
(
deepRest
:
boolean
)
:
void
Parameters
deepRest:
boolean
Returns
void
set
Dirty
set
Dirty
(
value
?:
boolean
)
:
void
Set bin dirty status
memberof
Bin
Parameters
Default value
value:
boolean
= true
Returns
void
Globals
"abstract-
bin"
"geom/
Rectangle"
"index"
"maxrects-
bin"
"maxrects-
packer"
"oversized-
element-
bin"
Bin
_dirty
data
free
Rects
height
max
Height
max
Width
options
rects
tag
width
dirty
add
clone
repack
reset
set
Dirty
IBin
Generated using
TypeDoc
Set bin dirty status
Bin