Typescript Library Declarations (Web Worker)
Interface CanvasState
interface
CanvasState
{
isContextLost
(
)
:
boolean
;
reset
(
)
:
void
;
restore
(
)
:
void
;
save
(
)
:
void
;
}
Hierarchy
CanvasState (
view full
)
OffscreenCanvasRenderingContext2D
Index
Methods
is
Context
Lost
reset
restore
save
Methods
is
Context
Lost
is
Context
Lost
(
)
:
boolean
MDN Reference
Returns
boolean
reset
reset
(
)
:
void
MDN Reference
Returns
void
restore
restore
(
)
:
void
MDN Reference
Returns
void
save
save
(
)
:
void
MDN Reference
Returns
void
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Methods
is
Context
Lost
reset
restore
save
Typescript Library Declarations (Web Worker)
MDN Reference