mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-10 18:19:03 +00:00
LibWeb: Add ImageData constructor with data
This commit is contained in:
parent
900a889eb1
commit
c17171b86c
Notes:
sideshowbarker
2024-07-17 08:13:43 +09:00
Author: https://github.com/kennethmyhra
Commit: c17171b86c
Pull-request: https://github.com/SerenityOS/serenity/pull/23727
Reviewed-by: https://github.com/Lubrsi
5 changed files with 63 additions and 1 deletions
|
@ -9,7 +9,7 @@ dictionary ImageDataSettings {
|
|||
[Exposed=(Window,Worker), Serializable]
|
||||
interface ImageData {
|
||||
constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
|
||||
// FIXME: constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
|
||||
constructor(Uint8ClampedArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
|
||||
readonly attribute unsigned long width;
|
||||
readonly attribute unsigned long height;
|
||||
readonly attribute Uint8ClampedArray data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue