Home  Products  Purchase  Downloads  Demos  Forums  Blogs  Ticket  Wiki  API  Corporate


com.aspose.cells
Class GradientStops

java.lang.Object
  extended by com.aspose.cells.GradientStops

public class GradientStops
extends java.lang.Object

Represents Gradient stops collection for Gradient Fill.


Constructor Summary
GradientStops()
           
 
Method Summary
 GradientStop addStop(float position, Color color, float transparency)
          Adds a Gradient stop to the collection.
 boolean equals(java.lang.Object another)
           
 GradientStop get(int index)
           
 void remove(GradientStop stop)
           
 GradientStop remove(int index)
           
 int size()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GradientStops

public GradientStops()
Method Detail

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)