summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/canvas/canvas2d/canvas_rendering_context_2d_settings.idl
blob: 2d6a97999551d992eb442369bd7bd1fabfc44a27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2017 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

[PermissiveDictionaryConversion]
dictionary CanvasRenderingContext2DSettings {
    boolean alpha = true;
    boolean desynchronized = false;
    PredefinedColorSpace colorSpace = "srgb";
    [RuntimeEnabled=CanvasColorManagement] CanvasPixelFormat pixelFormat = "uint8";
    [RuntimeEnabled=NewCanvas2DAPI] boolean willReadFrequently = false;
};