public class JsSVGColor extends JsCSSValue implements SVGColor
SVG_COLORTYPE_CURRENTCOLOR, SVG_COLORTYPE_RGBCOLOR, SVG_COLORTYPE_RGBCOLOR_ICCCOLOR, SVG_COLORTYPE_UNKNOWN
CSS_CUSTOM, CSS_INHERIT, CSS_PRIMITIVE_VALUE, CSS_VALUE_LIST
SVG_ZOOMANDPAN_DISABLE, SVG_ZOOMANDPAN_MAGNIFY, SVG_ZOOMANDPAN_UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
JsSVGColor() |
Modifier and Type | Method and Description |
---|---|
int |
getColorType() |
JsRGBColor |
getRgbColor() |
void |
setColor(int colorType,
String rgbColor,
String iccColor) |
void |
setRGBColor(String rgbColor) |
void |
setRGBColorICCColor(String rgbColor,
String iccColor) |
getCssText, getCssValueType, setCssText
addEventListener, addEventListener, beginElement, beginElementAt, dispatchEvent, endElement, endElementAt, getAnimatedClassName, getAnimatedHeight, getAnimatedHref, getAnimatedResult, getAnimatedTransform, getAnimatedWidth, getAnimatedX, getAnimatedY, getBBox, getChildElementCount, getCTM, getExternalResourcesRequired, getFarthestViewportElement, getFirstElementChild, getLastElementChild, getNearestViewportElement, getNextElementSibling, getPresentationAttribute, getPreserveAspectRatio, getPreviousElementSibling, getRequiredExtensions, getRequiredFeatures, getScreenCTM, getSvgStyle, getSystemLanguage, getTransformToElement, getViewBox, getXmllang, getXmlspace, getZoomAndPan, hasExtension, querySelector, querySelectorAll, removeEventListener, removeEventListener, setXmllang, setXmlspace, setZoomAndPan
at, at, intAt, intAt, length, numberAt, numberAt, setAt, setAt, setAt, setAt, setAt, setAt
cast, createArray, createArray, createFunction, createObject, equals, hashCode, toSource, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getCssText, getCssValueType, setCssText
intAt, length
numberAt
public final int getColorType()
getColorType
in interface SVGColor
public final JsRGBColor getRgbColor()
getRgbColor
in interface SVGColor
public final void setRGBColor(String rgbColor)
setRGBColor
in interface SVGColor
public final void setRGBColorICCColor(String rgbColor, String iccColor)
setRGBColorICCColor
in interface SVGColor
Copyright © 2018. All rights reserved.