You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/WebGL2RenderingContext/unpackColorSpace)
326
+
*/
327
+
mutableunpackColorSpace: predefinedColorSpace,
328
+
}
329
+
330
+
/**
331
+
An opaque object describing a gradient. It is returned by the methods CanvasRenderingContext2D.createLinearGradient() or CanvasRenderingContext2D.createRadialGradient().
332
+
[See CanvasGradient on MDN](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
333
+
*/
334
+
typecanvasGradient= {}
335
+
336
+
/**
337
+
An opaque object describing a pattern, based on an image, a canvas, or a video, created by the CanvasRenderingContext2D.createPattern() method.
338
+
[See CanvasPattern on MDN](https://developer.mozilla.org/docs/Web/API/CanvasPattern)
339
+
*/
340
+
typecanvasPattern= {}
341
+
342
+
/**
343
+
This Canvas 2D API interface is used to declare a path that can then be used on a CanvasRenderingContext2D object. The path methods of the CanvasRenderingContext2D interface are also present on this interface, which gives you the convenience of being able to retain and replay your path whenever desired.
344
+
[See Path2D on MDN](https://developer.mozilla.org/docs/Web/API/Path2D)
345
+
*/
346
+
typepath2D= {}
347
+
348
+
/**
349
+
The dimensions of a piece of text in the canvas, as created by the CanvasRenderingContext2D.measureText() method.
350
+
[See TextMetrics on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics)
351
+
*/
352
+
typetextMetrics= {
353
+
/**
354
+
Returns the measurement described below.
355
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/width)
356
+
*/
357
+
width: float,
358
+
/**
359
+
Returns the measurement described below.
360
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxLeft)
361
+
*/
362
+
actualBoundingBoxLeft: float,
363
+
/**
364
+
Returns the measurement described below.
365
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxRight)
366
+
*/
367
+
actualBoundingBoxRight: float,
368
+
/**
369
+
Returns the measurement described below.
370
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxAscent)
371
+
*/
372
+
fontBoundingBoxAscent: float,
373
+
/**
374
+
Returns the measurement described below.
375
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/fontBoundingBoxDescent)
376
+
*/
377
+
fontBoundingBoxDescent: float,
378
+
/**
379
+
Returns the measurement described below.
380
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxAscent)
381
+
*/
382
+
actualBoundingBoxAscent: float,
383
+
/**
384
+
Returns the measurement described below.
385
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/actualBoundingBoxDescent)
386
+
*/
387
+
actualBoundingBoxDescent: float,
388
+
/**
389
+
Returns the measurement described below.
390
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightAscent)
391
+
*/
392
+
emHeightAscent: float,
393
+
/**
394
+
Returns the measurement described below.
395
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/emHeightDescent)
396
+
*/
397
+
emHeightDescent: float,
398
+
/**
399
+
Returns the measurement described below.
400
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/hangingBaseline)
401
+
*/
402
+
hangingBaseline: float,
403
+
/**
404
+
Returns the measurement described below.
405
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/alphabeticBaseline)
406
+
*/
407
+
alphabeticBaseline: float,
408
+
/**
409
+
Returns the measurement described below.
410
+
[Read more on MDN](https://developer.mozilla.org/docs/Web/API/TextMetrics/ideographicBaseline)
0 commit comments