mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-04 21:53:42 -06:00
cf feedback
This commit is contained in:
parent
79da6a5ee8
commit
69a76a3b66
1
src/lib/dom.generated.d.ts
vendored
1
src/lib/dom.generated.d.ts
vendored
@ -3698,6 +3698,7 @@ interface HTMLCanvasElement extends HTMLElement {
|
||||
* @param contextId The identifier (ID) of the type of canvas to create. Internet Explorer 9 and Internet Explorer 10 support only a 2-D context using canvas.getContext("2d"); IE11 Preview also supports 3-D or WebGL context using canvas.getContext("experimental-webgl");
|
||||
*/
|
||||
getContext(contextId: "2d"): CanvasRenderingContext2D;
|
||||
getContext(contextId: "experimental-webgl"): WebGLRenderingContext;
|
||||
getContext(contextId: string, ...args: any[]): CanvasRenderingContext2D | WebGLRenderingContext;
|
||||
/**
|
||||
* Returns a blob object encoded as a Portable Network Graphics (PNG) format from a canvas image or drawing.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user