Package com.independentsoft.office.spreadsheet.styles

# Class GradientStop

java.lang.Object
com.independentsoft.office.spreadsheet.styles.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()`
  `DataBarColor`
  `getColor()`
  Gets the color.
  `double`
  `getPosition()`
  Gets the position.
  `void`
  `setColor​(DataBarColor color)`
  Sets the color.
  `void`
  `setPosition​(double 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`

  - ### getColor

    public DataBarColor getColor()
    Gets the color.
    Returns:
      the color

  - ### setColor

    public void setColor​(DataBarColor color)
    Sets the color.
    Parameters:
      `color` - the new color

  - ### getPosition

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

  - ### setPosition

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