com.aspose.diagram
Class ColorValue

java.lang.Object
    extended by com.aspose.diagram.ColorValue
All Implemented Interfaces:
java.lang.Cloneable

public class ColorValue 
extends java.lang.Object

Represents color value


Constructor Summary
ColorValue(java.lang.String value, int unit)
           Constructor.
 
Property Getters/Setters Summary
UnitFormulaErrgetUfe()
voidsetUfe(UnitFormulaErr)
           Attributes of an element.
java.lang.StringgetValue()
voidsetValue(java.lang.String)
           Color Value. To set the color, enter a number from 0 to 23 or the RGB value in hexadecimal notation.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
booleanequals(java.lang.Object value)
           Are objects equal.
inthashCode()
           Serves as a hash function for a particular type.
 

Constructor Detail

ColorValue

public ColorValue(java.lang.String value, int unit)
Constructor.
Parameters:
value -
unit - A MeasureConst value.

Property Getters/Setters Detail

getValue/setValue

public java.lang.String getValue() / public void setValue(java.lang.String value)
Color Value. To set the color, enter a number from 0 to 23 or the RGB value in hexadecimal notation.

getUfe/setUfe

public UnitFormulaErr getUfe() / public void setUfe(UnitFormulaErr value)
Attributes of an element.

Method Detail

equals

public boolean equals(java.lang.Object value)
Are objects equal.
Parameters:
value -
Returns:

hashCode

public int hashCode()
Serves as a hash function for a particular type.
Returns:

deepClone

public java.lang.Object deepClone()
                throws java.lang.Exception
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.