File: SVGPaint.java

package info (click to toggle)
xml-commons-external 1.4.01-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,484 kB
  • sloc: java: 12,856; xml: 72; makefile: 16
file content (25 lines) | stat: -rw-r--r-- 1,068 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;


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;
}