Package com.independentsoft.office.drawing

# Class GradientStop

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

public class GradientStop extends Object
The Class GradientStop.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `GradientStop()`
  Instantiates a new gradient stop.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `GradientStop`
  `clone()`
  `ColorChoice`
  `getColorChoice()`
  Gets the color choice.
  `int`
  `getPosition()`
  Gets the position.
  `void`
  `setColorChoice​(ColorChoice colorChoice)`
  Sets the color choice.
  `void`
  `setPosition​(int position)`
  Sets the position.
  `String`
  `toString()`

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

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

- ## Constructor Details

  - ### GradientStop

    public GradientStop()
    Instantiates a new gradient stop.

- ## Method Details

  - ### clone

    public GradientStop 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

  - ### getPosition

    public int getPosition()
    Gets the position.
    Returns:
      the position

  - ### setPosition

    public void setPosition​(int position)
    Sets the position.
    Parameters:
      `position` - the new position