| OLD | NEW |
| (Empty) |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 // https://github.com/junov/CanvasColorSpace/blob/master/CanvasColorSpaceProposa
l.md#imagedata | |
| 6 | |
| 7 [ | |
| 8 Constructor(unsigned long sw, unsigned long sh), | |
| 9 Constructor(unsigned long sw, unsigned long sh, ImageDataColorSpace colorSpa
ce), | |
| 10 Constructor(Float32Array data, unsigned long sw), | |
| 11 Constructor(Float32Array data, unsigned long sw, unsigned long sh), | |
| 12 Constructor(Float32Array data, unsigned long sw, unsigned long sh, ImageData
ColorSpace colorSpace), | |
| 13 | |
| 14 Exposed=(Window,Worker), | |
| 15 RaisesException=Constructor, | |
| 16 RuntimeEnabled=ExperimentalCanvasFeatures, | |
| 17 ] interface Float32ImageData { | |
| 18 readonly attribute unsigned long width; | |
| 19 readonly attribute unsigned long height; | |
| 20 readonly attribute Float32Array data; | |
| 21 readonly attribute ImageDataColorSpace colorSpace; | |
| 22 }; | |
| OLD | NEW |