Class GradientStop
java.lang.Object
com.independentsoft.office.spreadsheet.styles.GradientStop
The Class GradientStop.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getColor()Gets the color.doubleGets the position.voidsetColor(DataBarColor color)Sets the color.voidsetPosition(double position)Sets the position.toString()
-
Constructor Details
-
GradientStop
public GradientStop()Instantiates a new gradient stop.
-
-
Method Details
-
clone
-
toString
-
getColor
Gets the color.- Returns:
- the color
-
setColor
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
-