blob: 283cb92a335632c5dd96e76bad6a23aa099b5120 [file] [log] [blame]
// 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.
dictionary CanvasRenderingContext2DSettings {
boolean alpha = true;
// TODO( Do we keep "legacy-srgb" as the default?
// Must decide before shipping.
[RuntimeEnabled=ExperimentalCanvasFeatures] CanvasColorSpace colorSpace = "legacy-srgb";
[RuntimeEnabled=ExperimentalCanvasFeatures] CanvasPixelFormat pixelFormat = "8-8-8-8";
[RuntimeEnabled=ExperimentalCanvasFeatures] boolean linearPixelMath = false;