OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
6 | 6 |
7 interface WebGLContextAttributes { | 7 interface WebGLContextAttributes { |
8 | 8 |
9 bool get alpha(); | 9 bool alpha; |
10 | 10 |
11 void set alpha(bool value); | 11 bool antialias; |
12 | 12 |
13 bool get antialias(); | 13 bool depth; |
14 | 14 |
15 void set antialias(bool value); | 15 bool premultipliedAlpha; |
16 | 16 |
17 bool get depth(); | 17 bool preserveDrawingBuffer; |
18 | 18 |
19 void set depth(bool value); | 19 bool stencil; |
20 | |
21 bool get premultipliedAlpha(); | |
22 | |
23 void set premultipliedAlpha(bool value); | |
24 | |
25 bool get preserveDrawingBuffer(); | |
26 | |
27 void set preserveDrawingBuffer(bool value); | |
28 | |
29 bool get stencil(); | |
30 | |
31 void set stencil(bool value); | |
32 } | 20 } |
OLD | NEW |