org.vectomatic.dom.svg
Class OMSVGICCColor

java.lang.Object
  extended by org.vectomatic.dom.svg.OMSVGICCColor

public class OMSVGICCColor
extends Object

The OMSVGICCColor interface expresses an ICC-based color specification.

Note: The OMSVGICCColor interface is deprecated, and may be dropped from future versions of the SVG specification.


Field Summary
 List<Integer> colors
           
 
Constructor Summary
OMSVGICCColor(String colorProfile, List<Integer> colors)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getColorProfile()
          The name of the color profile, which is the first parameter of an ICC color specification.
 OMSVGNumberList getColors()
          The list of color values that define this ICC color.
 String getDescription()
           
 int hashCode()
           
 void setColorProfile(String value)
          The name of the color profile, which is the first parameter of an ICC color specification.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

colors

public List<Integer> colors
Constructor Detail

OMSVGICCColor

public OMSVGICCColor(String colorProfile,
                     List<Integer> colors)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getColorProfile

public final String getColorProfile()
The name of the color profile, which is the first parameter of an ICC color specification.


setColorProfile

public final void setColorProfile(String value)
                           throws com.google.gwt.core.client.JavaScriptException
The name of the color profile, which is the first parameter of an ICC color specification.

Throws:
DOMException(NO_MODIFICATION_ALLOWED_ERR) - Raised on an attempt to change the value of a read only attribute.
com.google.gwt.core.client.JavaScriptException

getColors

public final OMSVGNumberList getColors()
The list of color values that define this ICC color. Each color value is an arbitrary floating point number.


getDescription

public String getDescription()


Copyright © 2012. All Rights Reserved.