| 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 class _CanvasRenderingContext2DWrappingImplementation extends _CanvasRenderingCo
ntextWrappingImplementation implements CanvasRenderingContext2D { | 7 class _CanvasRenderingContext2DWrappingImplementation extends _CanvasRenderingCo
ntextWrappingImplementation implements CanvasRenderingContext2D { |
| 8 _CanvasRenderingContext2DWrappingImplementation() : super() {} | 8 _CanvasRenderingContext2DWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__CanvasRenderingContext2DWrappingImplementation() native { | 10 static create__CanvasRenderingContext2DWrappingImplementation() native { |
| 11 return new _CanvasRenderingContext2DWrappingImplementation(); | 11 return new _CanvasRenderingContext2DWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 Dynamic get fillStyle() { return _get__CanvasRenderingContext2D_fillStyle(this
); } | 14 Dynamic get fillStyle() { return _get_fillStyle(this); } |
| 15 static Dynamic _get__CanvasRenderingContext2D_fillStyle(var _this) native; | 15 static Dynamic _get_fillStyle(var _this) native; |
| 16 | 16 |
| 17 void set fillStyle(Dynamic value) { _set__CanvasRenderingContext2D_fillStyle(t
his, value); } | 17 void set fillStyle(Dynamic value) { _set_fillStyle(this, value); } |
| 18 static void _set__CanvasRenderingContext2D_fillStyle(var _this, Dynamic value)
native; | 18 static void _set_fillStyle(var _this, Dynamic value) native; |
| 19 | 19 |
| 20 String get font() { return _get__CanvasRenderingContext2D_font(this); } | 20 String get font() { return _get_font(this); } |
| 21 static String _get__CanvasRenderingContext2D_font(var _this) native; | 21 static String _get_font(var _this) native; |
| 22 | 22 |
| 23 void set font(String value) { _set__CanvasRenderingContext2D_font(this, value)
; } | 23 void set font(String value) { _set_font(this, value); } |
| 24 static void _set__CanvasRenderingContext2D_font(var _this, String value) nativ
e; | 24 static void _set_font(var _this, String value) native; |
| 25 | 25 |
| 26 num get globalAlpha() { return _get__CanvasRenderingContext2D_globalAlpha(this
); } | 26 num get globalAlpha() { return _get_globalAlpha(this); } |
| 27 static num _get__CanvasRenderingContext2D_globalAlpha(var _this) native; | 27 static num _get_globalAlpha(var _this) native; |
| 28 | 28 |
| 29 void set globalAlpha(num value) { _set__CanvasRenderingContext2D_globalAlpha(t
his, value); } | 29 void set globalAlpha(num value) { _set_globalAlpha(this, value); } |
| 30 static void _set__CanvasRenderingContext2D_globalAlpha(var _this, num value) n
ative; | 30 static void _set_globalAlpha(var _this, num value) native; |
| 31 | 31 |
| 32 String get globalCompositeOperation() { return _get__CanvasRenderingContext2D_
globalCompositeOperation(this); } | 32 String get globalCompositeOperation() { return _get_globalCompositeOperation(t
his); } |
| 33 static String _get__CanvasRenderingContext2D_globalCompositeOperation(var _thi
s) native; | 33 static String _get_globalCompositeOperation(var _this) native; |
| 34 | 34 |
| 35 void set globalCompositeOperation(String value) { _set__CanvasRenderingContext
2D_globalCompositeOperation(this, value); } | 35 void set globalCompositeOperation(String value) { _set_globalCompositeOperatio
n(this, value); } |
| 36 static void _set__CanvasRenderingContext2D_globalCompositeOperation(var _this,
String value) native; | 36 static void _set_globalCompositeOperation(var _this, String value) native; |
| 37 | 37 |
| 38 String get lineCap() { return _get__CanvasRenderingContext2D_lineCap(this); } | 38 String get lineCap() { return _get_lineCap(this); } |
| 39 static String _get__CanvasRenderingContext2D_lineCap(var _this) native; | 39 static String _get_lineCap(var _this) native; |
| 40 | 40 |
| 41 void set lineCap(String value) { _set__CanvasRenderingContext2D_lineCap(this,
value); } | 41 void set lineCap(String value) { _set_lineCap(this, value); } |
| 42 static void _set__CanvasRenderingContext2D_lineCap(var _this, String value) na
tive; | 42 static void _set_lineCap(var _this, String value) native; |
| 43 | 43 |
| 44 String get lineJoin() { return _get__CanvasRenderingContext2D_lineJoin(this);
} | 44 String get lineJoin() { return _get_lineJoin(this); } |
| 45 static String _get__CanvasRenderingContext2D_lineJoin(var _this) native; | 45 static String _get_lineJoin(var _this) native; |
| 46 | 46 |
| 47 void set lineJoin(String value) { _set__CanvasRenderingContext2D_lineJoin(this
, value); } | 47 void set lineJoin(String value) { _set_lineJoin(this, value); } |
| 48 static void _set__CanvasRenderingContext2D_lineJoin(var _this, String value) n
ative; | 48 static void _set_lineJoin(var _this, String value) native; |
| 49 | 49 |
| 50 num get lineWidth() { return _get__CanvasRenderingContext2D_lineWidth(this); } | 50 num get lineWidth() { return _get_lineWidth(this); } |
| 51 static num _get__CanvasRenderingContext2D_lineWidth(var _this) native; | 51 static num _get_lineWidth(var _this) native; |
| 52 | 52 |
| 53 void set lineWidth(num value) { _set__CanvasRenderingContext2D_lineWidth(this,
value); } | 53 void set lineWidth(num value) { _set_lineWidth(this, value); } |
| 54 static void _set__CanvasRenderingContext2D_lineWidth(var _this, num value) nat
ive; | 54 static void _set_lineWidth(var _this, num value) native; |
| 55 | 55 |
| 56 num get miterLimit() { return _get__CanvasRenderingContext2D_miterLimit(this);
} | 56 num get miterLimit() { return _get_miterLimit(this); } |
| 57 static num _get__CanvasRenderingContext2D_miterLimit(var _this) native; | 57 static num _get_miterLimit(var _this) native; |
| 58 | 58 |
| 59 void set miterLimit(num value) { _set__CanvasRenderingContext2D_miterLimit(thi
s, value); } | 59 void set miterLimit(num value) { _set_miterLimit(this, value); } |
| 60 static void _set__CanvasRenderingContext2D_miterLimit(var _this, num value) na
tive; | 60 static void _set_miterLimit(var _this, num value) native; |
| 61 | 61 |
| 62 num get shadowBlur() { return _get__CanvasRenderingContext2D_shadowBlur(this);
} | 62 num get shadowBlur() { return _get_shadowBlur(this); } |
| 63 static num _get__CanvasRenderingContext2D_shadowBlur(var _this) native; | 63 static num _get_shadowBlur(var _this) native; |
| 64 | 64 |
| 65 void set shadowBlur(num value) { _set__CanvasRenderingContext2D_shadowBlur(thi
s, value); } | 65 void set shadowBlur(num value) { _set_shadowBlur(this, value); } |
| 66 static void _set__CanvasRenderingContext2D_shadowBlur(var _this, num value) na
tive; | 66 static void _set_shadowBlur(var _this, num value) native; |
| 67 | 67 |
| 68 String get shadowColor() { return _get__CanvasRenderingContext2D_shadowColor(t
his); } | 68 String get shadowColor() { return _get_shadowColor(this); } |
| 69 static String _get__CanvasRenderingContext2D_shadowColor(var _this) native; | 69 static String _get_shadowColor(var _this) native; |
| 70 | 70 |
| 71 void set shadowColor(String value) { _set__CanvasRenderingContext2D_shadowColo
r(this, value); } | 71 void set shadowColor(String value) { _set_shadowColor(this, value); } |
| 72 static void _set__CanvasRenderingContext2D_shadowColor(var _this, String value
) native; | 72 static void _set_shadowColor(var _this, String value) native; |
| 73 | 73 |
| 74 num get shadowOffsetX() { return _get__CanvasRenderingContext2D_shadowOffsetX(
this); } | 74 num get shadowOffsetX() { return _get_shadowOffsetX(this); } |
| 75 static num _get__CanvasRenderingContext2D_shadowOffsetX(var _this) native; | 75 static num _get_shadowOffsetX(var _this) native; |
| 76 | 76 |
| 77 void set shadowOffsetX(num value) { _set__CanvasRenderingContext2D_shadowOffse
tX(this, value); } | 77 void set shadowOffsetX(num value) { _set_shadowOffsetX(this, value); } |
| 78 static void _set__CanvasRenderingContext2D_shadowOffsetX(var _this, num value)
native; | 78 static void _set_shadowOffsetX(var _this, num value) native; |
| 79 | 79 |
| 80 num get shadowOffsetY() { return _get__CanvasRenderingContext2D_shadowOffsetY(
this); } | 80 num get shadowOffsetY() { return _get_shadowOffsetY(this); } |
| 81 static num _get__CanvasRenderingContext2D_shadowOffsetY(var _this) native; | 81 static num _get_shadowOffsetY(var _this) native; |
| 82 | 82 |
| 83 void set shadowOffsetY(num value) { _set__CanvasRenderingContext2D_shadowOffse
tY(this, value); } | 83 void set shadowOffsetY(num value) { _set_shadowOffsetY(this, value); } |
| 84 static void _set__CanvasRenderingContext2D_shadowOffsetY(var _this, num value)
native; | 84 static void _set_shadowOffsetY(var _this, num value) native; |
| 85 | 85 |
| 86 Dynamic get strokeStyle() { return _get__CanvasRenderingContext2D_strokeStyle(
this); } | 86 Dynamic get strokeStyle() { return _get_strokeStyle(this); } |
| 87 static Dynamic _get__CanvasRenderingContext2D_strokeStyle(var _this) native; | 87 static Dynamic _get_strokeStyle(var _this) native; |
| 88 | 88 |
| 89 void set strokeStyle(Dynamic value) { _set__CanvasRenderingContext2D_strokeSty
le(this, value); } | 89 void set strokeStyle(Dynamic value) { _set_strokeStyle(this, value); } |
| 90 static void _set__CanvasRenderingContext2D_strokeStyle(var _this, Dynamic valu
e) native; | 90 static void _set_strokeStyle(var _this, Dynamic value) native; |
| 91 | 91 |
| 92 String get textAlign() { return _get__CanvasRenderingContext2D_textAlign(this)
; } | 92 String get textAlign() { return _get_textAlign(this); } |
| 93 static String _get__CanvasRenderingContext2D_textAlign(var _this) native; | 93 static String _get_textAlign(var _this) native; |
| 94 | 94 |
| 95 void set textAlign(String value) { _set__CanvasRenderingContext2D_textAlign(th
is, value); } | 95 void set textAlign(String value) { _set_textAlign(this, value); } |
| 96 static void _set__CanvasRenderingContext2D_textAlign(var _this, String value)
native; | 96 static void _set_textAlign(var _this, String value) native; |
| 97 | 97 |
| 98 String get textBaseline() { return _get__CanvasRenderingContext2D_textBaseline
(this); } | 98 String get textBaseline() { return _get_textBaseline(this); } |
| 99 static String _get__CanvasRenderingContext2D_textBaseline(var _this) native; | 99 static String _get_textBaseline(var _this) native; |
| 100 | 100 |
| 101 void set textBaseline(String value) { _set__CanvasRenderingContext2D_textBasel
ine(this, value); } | 101 void set textBaseline(String value) { _set_textBaseline(this, value); } |
| 102 static void _set__CanvasRenderingContext2D_textBaseline(var _this, String valu
e) native; | 102 static void _set_textBaseline(var _this, String value) native; |
| 103 | 103 |
| 104 List get webkitLineDash() { return _get__CanvasRenderingContext2D_webkitLineDa
sh(this); } | 104 List get webkitLineDash() { return _get_webkitLineDash(this); } |
| 105 static List _get__CanvasRenderingContext2D_webkitLineDash(var _this) native; | 105 static List _get_webkitLineDash(var _this) native; |
| 106 | 106 |
| 107 void set webkitLineDash(List value) { _set__CanvasRenderingContext2D_webkitLin
eDash(this, value); } | 107 void set webkitLineDash(List value) { _set_webkitLineDash(this, value); } |
| 108 static void _set__CanvasRenderingContext2D_webkitLineDash(var _this, List valu
e) native; | 108 static void _set_webkitLineDash(var _this, List value) native; |
| 109 | 109 |
| 110 num get webkitLineDashOffset() { return _get__CanvasRenderingContext2D_webkitL
ineDashOffset(this); } | 110 num get webkitLineDashOffset() { return _get_webkitLineDashOffset(this); } |
| 111 static num _get__CanvasRenderingContext2D_webkitLineDashOffset(var _this) nati
ve; | 111 static num _get_webkitLineDashOffset(var _this) native; |
| 112 | 112 |
| 113 void set webkitLineDashOffset(num value) { _set__CanvasRenderingContext2D_webk
itLineDashOffset(this, value); } | 113 void set webkitLineDashOffset(num value) { _set_webkitLineDashOffset(this, val
ue); } |
| 114 static void _set__CanvasRenderingContext2D_webkitLineDashOffset(var _this, num
value) native; | 114 static void _set_webkitLineDashOffset(var _this, num value) native; |
| 115 | 115 |
| 116 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) { | 116 void arc(num x, num y, num radius, num startAngle, num endAngle, bool anticloc
kwise) { |
| 117 _arc(this, x, y, radius, startAngle, endAngle, anticlockwise); | 117 _arc(this, x, y, radius, startAngle, endAngle, anticlockwise); |
| 118 return; | 118 return; |
| 119 } | 119 } |
| 120 static void _arc(receiver, x, y, radius, startAngle, endAngle, anticlockwise)
native; | 120 static void _arc(receiver, x, y, radius, startAngle, endAngle, anticlockwise)
native; |
| 121 | 121 |
| 122 void arcTo(num x1, num y1, num x2, num y2, num radius) { | 122 void arcTo(num x1, num y1, num x2, num y2, num radius) { |
| 123 _arcTo(this, x1, y1, x2, y2, radius); | 123 _arcTo(this, x1, y1, x2, y2, radius); |
| 124 return; | 124 return; |
| (...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 785 static void _transform(receiver, m11, m12, m21, m22, dx, dy) native; | 785 static void _transform(receiver, m11, m12, m21, m22, dx, dy) native; |
| 786 | 786 |
| 787 void translate(num tx, num ty) { | 787 void translate(num tx, num ty) { |
| 788 _translate(this, tx, ty); | 788 _translate(this, tx, ty); |
| 789 return; | 789 return; |
| 790 } | 790 } |
| 791 static void _translate(receiver, tx, ty) native; | 791 static void _translate(receiver, tx, ty) native; |
| 792 | 792 |
| 793 String get typeName() { return "CanvasRenderingContext2D"; } | 793 String get typeName() { return "CanvasRenderingContext2D"; } |
| 794 } | 794 } |
| OLD | NEW |