Typescript Library Declarations (DOM)
Interface CanvasState
interface
CanvasState
{
isContextLost
()
:
boolean
;
reset
()
:
void
;
restore
()
:
void
;
save
()
:
void
;
}
Hierarchy
CanvasState (
View Summary
)
CanvasRenderingContext2D
OffscreenCanvasRenderingContext2D
Index
Methods
is
Context
Lost
reset
restore
save
Methods
is
Context
Lost
isContextLost
()
:
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 (DOM)
MDN Reference