laymur 0.13.6 → 0.13.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/** Canvas type that works both in main thread and workers */
|
|
2
|
-
export type UICanvas =
|
|
2
|
+
export type UICanvas = HTMLCanvasElement;
|
|
3
3
|
/** 2D rendering context type for UICanvas */
|
|
4
|
-
export type UICanvasRenderingContext2D =
|
|
4
|
+
export type UICanvasRenderingContext2D = CanvasRenderingContext2D;
|
|
5
5
|
/**
|
|
6
6
|
* Creates a canvas with OffscreenCanvas fallback to HTMLCanvasElement.
|
|
7
7
|
* Uses OffscreenCanvas when available, falls back to HTMLCanvasElement otherwise.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const SRGB_SUPPORTED: boolean;
|