OLD | NEW |
1 | 1 |
2 class _WebGLContextAttributesJs extends _DOMTypeJs implements WebGLContextAttrib
utes native "*WebGLContextAttributes" { | 2 class _WebGLContextAttributesJs extends _DOMTypeJs implements WebGLContextAttrib
utes native "*WebGLContextAttributes" { |
3 | 3 |
4 bool get alpha() native "return this.alpha;"; | 4 bool alpha; |
5 | 5 |
6 void set alpha(bool value) native "this.alpha = value;"; | 6 bool antialias; |
7 | 7 |
8 bool get antialias() native "return this.antialias;"; | 8 bool depth; |
9 | 9 |
10 void set antialias(bool value) native "this.antialias = value;"; | 10 bool premultipliedAlpha; |
11 | 11 |
12 bool get depth() native "return this.depth;"; | 12 bool preserveDrawingBuffer; |
13 | 13 |
14 void set depth(bool value) native "this.depth = value;"; | 14 bool stencil; |
15 | |
16 bool get premultipliedAlpha() native "return this.premultipliedAlpha;"; | |
17 | |
18 void set premultipliedAlpha(bool value) native "this.premultipliedAlpha = valu
e;"; | |
19 | |
20 bool get preserveDrawingBuffer() native "return this.preserveDrawingBuffer;"; | |
21 | |
22 void set preserveDrawingBuffer(bool value) native "this.preserveDrawingBuffer
= value;"; | |
23 | |
24 bool get stencil() native "return this.stencil;"; | |
25 | |
26 void set stencil(bool value) native "this.stencil = value;"; | |
27 } | 15 } |
OLD | NEW |