Pixel Data JS - v0.28.0
Preparing search index...
PixelAccumulator
Class PixelAccumulator
Index
Constructors
constructor
Properties
before
Tiles
config
lookup
pixel
Tile
Pool
Methods
extract
Patch
extract
State
recycle
Patch
rollback
After
Error
store
Pixel
Before
State
store
Region
Before
State
store
Tile
Before
State
Constructors
constructor
new
PixelAccumulator
(
config
:
PixelEngineConfig
,
pixelTilePool
:
TilePool
<
PixelTile
>
,
)
:
PixelAccumulator
Parameters
config
:
PixelEngineConfig
pixelTilePool
:
TilePool
<
PixelTile
>
Returns
PixelAccumulator
Properties
before
Tiles
beforeTiles
:
PixelTile
[]
Readonly
config
config
:
PixelEngineConfig
lookup
lookup
:
(
PixelTile
|
undefined
)
[]
Readonly
pixel
Tile
Pool
pixelTilePool
:
TilePool
<
PixelTile
>
Methods
extract
Patch
extractPatch
()
:
PixelPatchTiles
Returns
PixelPatchTiles
extract
State
extractState
(
tile
:
PixelTile
)
:
void
Parameters
tile
:
PixelTile
Returns
void
recycle
Patch
recyclePatch
(
patch
:
PixelPatchTiles
)
:
void
Parameters
patch
:
PixelPatchTiles
Returns
void
rollback
After
Error
rollbackAfterError
()
:
void
Returns
void
store
Pixel
Before
State
storePixelBeforeState
(
x
:
number
,
y
:
number
)
:
DidChangeFn
Parameters
x
:
number
pixel x coordinate
y
:
number
pixel y coordinate
Returns
DidChangeFn
store
Region
Before
State
storeRegionBeforeState
(
x
:
number
,
y
:
number
,
w
:
number
,
h
:
number
)
:
DidChangeFn
Parameters
x
:
number
pixel x coordinate
y
:
number
pixel y coordinate
w
:
number
pixel width
h
:
number
pixel height
Returns
DidChangeFn
store
Tile
Before
State
storeTileBeforeState
(
id
:
number
,
tx
:
number
,
ty
:
number
)
:
DidChangeFn
Parameters
id
:
number
tx
:
number
ty
:
number
Returns
DidChangeFn
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
before
Tiles
config
lookup
pixel
Tile
Pool
Methods
extract
Patch
extract
State
recycle
Patch
rollback
After
Error
store
Pixel
Before
State
store
Region
Before
State
store
Tile
Before
State
Pixel Data JS - v0.28.0
Loading...
pixel x coordinate