OLD | NEW |
1 | 1 |
2 class _SVGColorJs extends _CSSValueJs implements SVGColor native "*SVGColor" { | 2 class _SVGColorJs extends _CSSValueJs implements SVGColor native "*SVGColor" { |
3 | 3 |
4 static final int SVG_COLORTYPE_CURRENTCOLOR = 3; | 4 static final int SVG_COLORTYPE_CURRENTCOLOR = 3; |
5 | 5 |
6 static final int SVG_COLORTYPE_RGBCOLOR = 1; | 6 static final int SVG_COLORTYPE_RGBCOLOR = 1; |
7 | 7 |
8 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; | 8 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; |
9 | 9 |
10 static final int SVG_COLORTYPE_UNKNOWN = 0; | 10 static final int SVG_COLORTYPE_UNKNOWN = 0; |
11 | 11 |
12 int get colorType() native "return this.colorType;"; | 12 final int colorType; |
13 | 13 |
14 _RGBColorJs get rgbColor() native "return this.rgbColor;"; | 14 final _RGBColorJs rgbColor; |
15 | 15 |
16 void setColor(int colorType, String rgbColor, String iccColor) native; | 16 void setColor(int colorType, String rgbColor, String iccColor) native; |
17 | 17 |
18 void setRGBColor(String rgbColor) native; | 18 void setRGBColor(String rgbColor) native; |
19 | 19 |
20 void setRGBColorICCColor(String rgbColor, String iccColor) native; | 20 void setRGBColorICCColor(String rgbColor, String iccColor) native; |
21 } | 21 } |
OLD | NEW |