Class Color

java.lang.Object
com.independentsoft.office.word.Color

public class Color extends Object
The Class Color.
  • Constructor Details

    • Color

      public Color()
      Instantiates a new color.
    • Color

      public Color(String color)
      Instantiates a new color.
      Parameters:
      color - the color
  • Method Details

    • clone

      public Color clone()
      Overrides:
      clone in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • isAuto

      public boolean isAuto()
      Checks if is auto.
      Returns:
      true, if is auto
    • setAuto

      public void setAuto(boolean auto)
      Sets the auto.
      Parameters:
      auto - the new auto
    • getHexValue

      public String getHexValue()
      Gets the hex value.
      Returns:
      the hex value
    • setHexValue

      public void setHexValue(String hexColor)
      Sets the hex value.
      Parameters:
      hexColor - the new hex value