mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:38:10 +00:00
LibWeb: Add barebones CanvasGradient object
Also add the CanvasRenderingContext2D APIs to go along with it. Note that it can't be used for anything yet.
This commit is contained in:
parent
545ec334f0
commit
dc3bf32307
10 changed files with 130 additions and 0 deletions
5
Userland/Libraries/LibWeb/HTML/CanvasGradient.idl
Normal file
5
Userland/Libraries/LibWeb/HTML/CanvasGradient.idl
Normal file
|
@ -0,0 +1,5 @@
|
|||
[Exposed=(Window,Worker)]
|
||||
interface CanvasGradient {
|
||||
// opaque object
|
||||
undefined addColorStop(double offset, DOMString color);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue