OLD | NEW |
1 | 1 |
2 class _SVGPaintJs extends _SVGColorJs implements SVGPaint native "*SVGPaint" { | 2 class _SVGPaintJs extends _SVGColorJs implements SVGPaint native "*SVGPaint" { |
3 | 3 |
4 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102; | 4 static final int SVG_PAINTTYPE_CURRENTCOLOR = 102; |
5 | 5 |
6 static final int SVG_PAINTTYPE_NONE = 101; | 6 static final int SVG_PAINTTYPE_NONE = 101; |
7 | 7 |
8 static final int SVG_PAINTTYPE_RGBCOLOR = 1; | 8 static final int SVG_PAINTTYPE_RGBCOLOR = 1; |
9 | 9 |
10 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; | 10 static final int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; |
11 | 11 |
12 static final int SVG_PAINTTYPE_UNKNOWN = 0; | 12 static final int SVG_PAINTTYPE_UNKNOWN = 0; |
13 | 13 |
14 static final int SVG_PAINTTYPE_URI = 107; | 14 static final int SVG_PAINTTYPE_URI = 107; |
15 | 15 |
16 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; | 16 static final int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; |
17 | 17 |
18 static final int SVG_PAINTTYPE_URI_NONE = 103; | 18 static final int SVG_PAINTTYPE_URI_NONE = 103; |
19 | 19 |
20 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105; | 20 static final int SVG_PAINTTYPE_URI_RGBCOLOR = 105; |
21 | 21 |
22 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; | 22 static final int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; |
23 | 23 |
24 int get paintType() native "return this.paintType;"; | 24 final int paintType; |
25 | 25 |
26 String get uri() native "return this.uri;"; | 26 final String uri; |
27 | 27 |
28 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat
ive; | 28 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat
ive; |
29 | 29 |
30 void setUri(String uri) native; | 30 void setUri(String uri) native; |
31 } | 31 } |
OLD | NEW |