| OLD | NEW |
| (Empty) |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 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. | |
| 4 | |
| 5 // WARNING: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName SVGColor | |
| 10 interface SVGColor extends CSSValue { | |
| 11 | |
| 12 static final int SVG_COLORTYPE_CURRENTCOLOR = 3; | |
| 13 | |
| 14 static final int SVG_COLORTYPE_RGBCOLOR = 1; | |
| 15 | |
| 16 static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; | |
| 17 | |
| 18 static final int SVG_COLORTYPE_UNKNOWN = 0; | |
| 19 | |
| 20 /** @domName SVGColor.colorType */ | |
| 21 final int colorType; | |
| 22 | |
| 23 /** @domName SVGColor.rgbColor */ | |
| 24 final RGBColor rgbColor; | |
| 25 | |
| 26 /** @domName SVGColor.setColor */ | |
| 27 void setColor(int colorType, String rgbColor, String iccColor); | |
| 28 | |
| 29 /** @domName SVGColor.setRGBColor */ | |
| 30 void setRGBColor(String rgbColor); | |
| 31 | |
| 32 /** @domName SVGColor.setRGBColorICCColor */ | |
| 33 void setRGBColorICCColor(String rgbColor, String iccColor); | |
| 34 } | |
| OLD | NEW |