Package com.independentsoft.office.drawing

# Class CustomColor

java.lang.Object
com.independentsoft.office.drawing.CustomColor

public class CustomColor extends Object
The Class CustomColor.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CustomColor()`
  Instantiates a new custom color.
  `CustomColor​(InternalXMLStreamReader reader)`
  Instantiates a new custom color.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `CustomColor`
  `clone()`
  `ColorChoice`
  `getColorChoice()`
  Gets the color choice.
  `String`
  `getName()`
  Gets the name.
  `void`
  `setColorChoice​(ColorChoice colorChoice)`
  Sets the color choice.
  `void`
  `setName​(String name)`
  Sets the name.
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### CustomColor

    public CustomColor()
    Instantiates a new custom color.

  - ### CustomColor

    public CustomColor​(InternalXMLStreamReader reader) throws XMLStreamException
    Instantiates a new custom color.
    Parameters:
      `reader` - the reader
    Throws:
      `XMLStreamException` - the xML stream exception

- ## Method Details

  - ### clone

    public CustomColor clone()
    Overrides:
      `clone` in class `Object`

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`

  - ### getColorChoice

    public ColorChoice getColorChoice()
    Gets the color choice.
    Returns:
      the color choice

  - ### setColorChoice

    public void setColorChoice​(ColorChoice colorChoice)
    Sets the color choice.
    Parameters:
      `colorChoice` - the new color choice

  - ### getName

    public String getName()
    Gets the name.
    Returns:
      the name

  - ### setName

    public void setName​(String name)
    Sets the name.
    Parameters:
      `name` - the new name