File: SVGColor.java

package info (click to toggle)
xml-commons-external 1.4.01-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 3,468 kB
  • ctags: 4,950
  • sloc: java: 12,856; xml: 72; makefile: 30
file content (25 lines) | stat: -rw-r--r-- 900 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

package org.w3c.dom.svg;

import org.w3c.dom.css.CSSValue;
import org.w3c.dom.css.RGBColor;

public interface SVGColor extends 
               CSSValue {
  // Color Types
  public static final short SVG_COLORTYPE_UNKNOWN           = 0;
  public static final short SVG_COLORTYPE_RGBCOLOR          = 1;
  public static final short SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2;
  public static final short SVG_COLORTYPE_CURRENTCOLOR      = 3;

  public short getColorType( );
  public RGBColor  getRGBColor( );
  public SVGICCColor    getICCColor( );

  public void        setRGBColor ( String rgbColor )
                  throws SVGException;
  public void        setRGBColorICCColor ( String rgbColor, String iccColor )
                  throws SVGException;
  public void        setColor ( short colorType, String rgbColor, String iccColor )
                  throws SVGException;
}