summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/w3c/dom/svg/SVGPaint.java
blob: 6a6451c127b0515209fff66aff99ad851547c8a8 (plain) (blame)
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
26

package org.w3c.dom.svg;

import org.w3c.dom.css.RGBColor;

public interface SVGPaint extends 
               SVGColor {
  // Paint Types
  public static final short SVG_PAINTTYPE_UNKNOWN               = 0;
  public static final short SVG_PAINTTYPE_RGBCOLOR              = 1;
  public static final short SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR     = 2;
  public static final short SVG_PAINTTYPE_NONE                  = 101;
  public static final short SVG_PAINTTYPE_CURRENTCOLOR          = 102;
  public static final short SVG_PAINTTYPE_URI_NONE              = 103;
  public static final short SVG_PAINTTYPE_URI_CURRENTCOLOR      = 104;
  public static final short SVG_PAINTTYPE_URI_RGBCOLOR          = 105;
  public static final short SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106;
  public static final short SVG_PAINTTYPE_URI                   = 107;

  public short getPaintType( );
  public String      getUri( );

  public void setUri ( String uri );
  public void setPaint ( short paintType, String uri, String rgbColor, String iccColor )
                  throws SVGException;
}