Class GradientStop

java.lang.Object
com.independentsoft.office.spreadsheet.styles.GradientStop

public class GradientStop extends Object
The Class GradientStop.
  • 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