com.aspose.diagram

Class ColorValue

  • java.lang.Object
    • com.aspose.diagram.ColorValue
  • All Implemented Interfaces:
    com.aspose.diagram.b.a.h, java.lang.Cloneable
    public class ColorValue 
    extends java.lang.Object

Represents color value

Constructor Summary
ColorValue(java.lang.Stringvalue, intunit)
Constructor.
 
Property Getters/Setters Summary
UnitFormulaErrgetUfe()
void
Attributes of an element.
java.lang.StringgetValue()
void
setValue(java.lang.Stringvalue)
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.Objectvalue)
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.
    • 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: