Search
Preparing search index...
The search index is not available
Excalibur.js Edge API Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"Drawing/SpriteEffects"
Invert
Class Invert
Applies the "Invert" effect to a sprite, inverting the pixel colors.
Hierarchy
Invert
Implements
SpriteEffect
Index
Methods
update
Pixel
Methods
update
Pixel
update
Pixel
(
x
:
number
, y
:
number
, imageData
:
ImageData
)
:
void
Parameters
x:
number
y:
number
imageData:
ImageData
Returns
void
Globals
"
Drawing/
Sprite
Effects"
Colorize
Darken
Desaturate
Fill
Grayscale
Invert
update
Pixel
Lighten
Opacity
Saturate
Sprite
Effect
Applies the "Invert" effect to a sprite, inverting the pixel colors.