public interface SVGColor extends CSSValue
This page explains more about how you can specify color in CSS.
In your sample stylesheet, you introduce background colors.
Modifier and Type | Field and Description |
---|---|
static int |
SVG_COLORTYPE_CURRENTCOLOR |
static int |
SVG_COLORTYPE_RGBCOLOR |
static int |
SVG_COLORTYPE_RGBCOLOR_ICCCOLOR |
static int |
SVG_COLORTYPE_UNKNOWN |
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
Modifier and Type | Method and Description |
---|---|
int |
getColorType() |
RGBColor |
getRgbColor() |
void |
setColor(int colorType,
String rgbColor,
String iccColor) |
void |
setRGBColor(String rgbColor) |
void |
setRGBColorICCColor(String rgbColor,
String iccColor) |
getCssText, getCssValueType, setCssText
static final int SVG_COLORTYPE_CURRENTCOLOR
static final int SVG_COLORTYPE_RGBCOLOR
static final int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR
static final int SVG_COLORTYPE_UNKNOWN
Copyright © 2018. All rights reserved.