Dart API Referencedart:htmlSVGColor

SVGColor Interface

This page explains more about how you can specify color in CSS.

In your sample stylesheet, you introduce background colors.

Extends

CSSValue

Subinterfaces

SVGPaint

Static Fields

Code final int SVG_COLORTYPE_CURRENTCOLOR #

static final int SVG_COLORTYPE_CURRENTCOLOR = 3;

Code final int SVG_COLORTYPE_RGBCOLOR #

static final int SVG_COLORTYPE_RGBCOLOR = 1;

Code final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR #

static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;

Code final int SVG_COLORTYPE_UNKNOWN #

static final int SVG_COLORTYPE_UNKNOWN = 0;

Methods

Code void setColor(int colorType, String rgbColor, String iccColor) #

void setColor(int colorType, String rgbColor, String iccColor);

Code void setRGBColor(String rgbColor) #

void setRGBColor(String rgbColor);

Code void setRGBColorICCColor(String rgbColor, String iccColor) #

void setRGBColorICCColor(String rgbColor, String iccColor);

Fields

Code final int colorType #

final int colorType;

Code final RGBColor rgbColor #

final RGBColor rgbColor;

This page includes content from the Mozilla Foundation that is graciously licensed under a Creative Commons: Attribution-Sharealike license. Mozilla has no other association with Dart or dartlang.org. We encourage you to improve the web by contributing to The Mozilla Developer Network.