Preparing search index...
The search index is not available
TypeSpriteJS Game Engine - API
TypeSpriteJS Game Engine - API
OverlayCanvas
Class OverlayCanvas
Hierarchy
OverlayCanvas
Index
Constructors
constructor
Properties
_canvas
_ctx
_game
Canvas
_parent
Methods
detach
get
Renderer
resize
set
Pixelate
Constructors
constructor
new
Overlay
Canvas
(
gameCanvas
:
HTMLCanvasElement
, width
:
number
, height
:
number
)
:
OverlayCanvas
Parameters
gameCanvas:
HTMLCanvasElement
width:
number
height:
number
Returns
OverlayCanvas
Properties
Private
_canvas
_canvas
:
HTMLCanvasElement
Private
_ctx
_ctx
:
CanvasRenderingContext2D
Private
_game
Canvas
_game
Canvas
:
HTMLCanvasElement
Private
_parent
_parent
:
HTMLElement
Methods
detach
detach
(
)
:
void
Returns
void
get
Renderer
get
Renderer
(
)
:
CanvasRenderingContext2D
Returns
CanvasRenderingContext2D
resize
resize
(
)
:
void
Returns
void
set
Pixelate
set
Pixelate
(
v
:
boolean
)
:
void
Parameters
v:
boolean
Returns
void
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
Modules
Type
SpriteJS
Game
Engine -
API
Overlay
Canvas
constructor
_canvas
_ctx
_game
Canvas
_parent
detach
get
Renderer
resize
set
Pixelate
Generated using
TypeDoc