File tree Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Expand file tree Collapse file tree 3 files changed +42
-1
lines changed Original file line number Diff line number Diff line change @@ -3245,7 +3245,7 @@ declare var CacheStorage: {
3245
3245
3246
3246
interface CanvasCompositing {
3247
3247
globalAlpha: number;
3248
- globalCompositeOperation: string ;
3248
+ globalCompositeOperation: GlobalCompositeOperation ;
3249
3249
}
3250
3250
3251
3251
interface CanvasDrawImage {
@@ -17757,6 +17757,7 @@ type FontFaceSetLoadStatus = "loaded" | "loading";
17757
17757
type FullscreenNavigationUI = "auto" | "hide" | "show";
17758
17758
type GamepadHapticActuatorType = "vibration";
17759
17759
type GamepadMappingType = "" | "standard" | "xr-standard";
17760
+ type GlobalCompositeOperation = "color" | "color-burn" | "color-dodge" | "copy" | "darken" | "destination-atop" | "destination-in" | "destination-out" | "destination-over" | "difference" | "exclusion" | "hard-light" | "hue" | "lighten" | "lighter" | "luminosity" | "multiply" | "overlay" | "saturation" | "screen" | "soft-light" | "source-atop" | "source-in" | "source-out" | "source-over" | "xor";
17760
17761
type HdrMetadataType = "smpteSt2086" | "smpteSt2094-10" | "smpteSt2094-40";
17761
17762
type IDBCursorDirection = "next" | "nextunique" | "prev" | "prevunique";
17762
17763
type IDBRequestReadyState = "done" | "pending";
Original file line number Diff line number Diff line change 280
280
"value" : [
281
281
" inprogress"
282
282
]
283
+ },
284
+ "GlobalCompositeOperation" : {
285
+ "name" : " GlobalCompositeOperation" ,
286
+ "value" : [
287
+ " source-over" ,
288
+ " source-in" ,
289
+ " source-out" ,
290
+ " source-atop" ,
291
+ " destination-over" ,
292
+ " destination-in" ,
293
+ " destination-out" ,
294
+ " destination-atop" ,
295
+ " lighter" ,
296
+ " copy" ,
297
+ " xor" ,
298
+ " multiply" ,
299
+ " screen" ,
300
+ " overlay" ,
301
+ " darken" ,
302
+ " lighten" ,
303
+ " color-dodge" ,
304
+ " color-burn" ,
305
+ " hard-light" ,
306
+ " soft-light" ,
307
+ " difference" ,
308
+ " exclusion" ,
309
+ " hue" ,
310
+ " saturation" ,
311
+ " color" ,
312
+ " luminosity"
313
+ ]
283
314
}
284
315
}
285
316
},
Original file line number Diff line number Diff line change 202
202
}
203
203
}
204
204
},
205
+ "CanvasCompositing" : {
206
+ "properties" : {
207
+ "property" : {
208
+ "globalCompositeOperation" : {
209
+ "type" : " GlobalCompositeOperation"
210
+ }
211
+ }
212
+ }
213
+ },
205
214
"Body" : {
206
215
"properties" : {
207
216
"property" : {
You can’t perform that action at this time.
0 commit comments