public interface IGradientStops extends java.lang.Iterable<IGradientStop>
IGradientStop objects.| Modifier and Type | Method and Description |
|---|---|
void |
delete(int index)
Removes a gradient stop.
|
IGradientStop |
get(int index)
Gets the
IGradientStop object from the IGradientStops
collection. |
int |
getCount()
Gets the number of items in the
IGradientStops collection. |
void |
insert(int rgb,
double position)
Adds a stop to a gradient and specifies the brightness, as well as the
transparency of the color.
|
void |
insert(int rgb,
double position,
double transparency,
int index,
double brightness)
Adds a stop to a gradient and specifies the brightness, as well as the
transparency of the color.
|
int getCount()
IGradientStops collection.IGradientStop get(int index)
IGradientStop object from the IGradientStops
collection.index - The name or index number of the returned object.void delete(int index)
index - The index number of the gradient stop.void insert(int rgb,
double position)
rgb - Specifies the color at the gradient stop.position - Specifies the position of the stop within the gradient expressed
as a percent.void insert(int rgb,
double position,
double transparency,
int index,
double brightness)
rgb - Specifies the color at the gradient stop.position - Specifies the position of the stop within the gradient expressed
as a percent.transparency - Specifies the opacity of color at the gradient stop.index - The index number of the stop.brightness - Specifies the brightness of the color at the gradient stop.