com.aspose.cells
Class GradientStops
java.lang.Object
com.aspose.cells.GradientStops
public class GradientStops
- extends java.lang.Object
Represents Gradient stops collection for Gradient Fill.
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GradientStops
public GradientStops()
equals
public boolean equals(java.lang.Object another)
- Overrides:
equals
in class java.lang.Object
size
public int size()
addStop
public GradientStop addStop(float position,
Color color,
float transparency)
- Adds a Gradient stop to the collection.
- Parameters:
position
- Can only be a value from 0 to 1.color
- the color of this stop.transparency
- Can only be a value from 0 to 1.
- Returns:
- the added Gradient stop.
get
public GradientStop get(int index)
remove
public GradientStop remove(int index)
remove
public void remove(GradientStop stop)