elemental2.svg.SVGColor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of elemental2-svg Show documentation
Show all versions of elemental2-svg Show documentation
Thin Java abstractions for the native SVG APIs.
package elemental2.svg;
import elemental2.dom.CSSValue;
import elemental2.dom.RGBColor;
import jsinterop.annotations.JsOverlay;
import jsinterop.annotations.JsPackage;
import jsinterop.annotations.JsType;
@JsType(isNative = true, namespace = JsPackage.GLOBAL)
public class SVGColor extends CSSValue {
@JsOverlay
public static final double SVG_COLORTYPE_CURRENTCOLOR =
SVGColor__Constants.SVG_COLORTYPE_CURRENTCOLOR;
@JsOverlay
public static final double SVG_COLORTYPE_RGBCOLOR = SVGColor__Constants.SVG_COLORTYPE_RGBCOLOR;
@JsOverlay
public static final double SVG_COLORTYPE_RGBCOLOR_ICCCOLOR =
SVGColor__Constants.SVG_COLORTYPE_RGBCOLOR_ICCCOLOR;
@JsOverlay
public static final double SVG_COLORTYPE_UNKNOWN = SVGColor__Constants.SVG_COLORTYPE_UNKNOWN;
public double colorType;
public RGBColor rgbColor;
public native void setColor(double colorType, String rgbColor, String iccColor);
public native void setRGBColor(String rgbColor);
public native void setRGBColorICCColor(String rgbColor, String iccColor);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy