chromium/third_party/blink/renderer/modules/canvas/canvas2d/canvas_filter.idl

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

typedef (object or FrozenArray<object> or DOMString) CanvasFilterInput;
[
    Exposed=(Window,Worker,PaintWorklet),
    RuntimeEnabled=Canvas2dCanvasFilter
] interface CanvasFilter {

    [CallWith=ScriptState, RaisesException] constructor(CanvasFilterInput init);
};