java.lang.ObjectCollection
com.aspose.diagram.GradientStopCollection
public class GradientStopCollection
| Property Getters/Setters Summary | ||
|---|---|---|
int | getCount() | → inherited from Collection
|
| Gets the number of elements actually contained in the collection. | ||
GradientStop | get(int) | |
void | set(int, GradientStop) | |
| Gets the gradient stop by the index. | ||
| Method Summary | ||
|---|---|---|
void | add(DoubleValue position, ColorValue color) | |
| Add a gradient stop. | ||
void | clear() | → inherited from Collection
|
| Removes all elements from collection. | ||
boolean | isExist(int index) | → inherited from Collection
|
| Is exist item in the collection. | ||
java.util.Iterator | iterator() | → inherited from Collection
|
| Supports a simple iteration over a nongeneric collection. | ||
| Property Getters/Setters Detail |
|---|
getCount | → inherited from Collection
|
public int getCount() | |
get/set | |
public GradientStop get(int index) / public void set(int index, GradientStop value) | |
index - The index.| Method Detail |
|---|
add | |
public void add(DoubleValue position, ColorValue color) | |
position - The position of the stop,in unit of percentage.color - The color of the stop.alpha - The alpha of the color.iterator | → inherited from Collection
|
public java.util.Iterator iterator() | |
isExist | → inherited from Collection
|
public boolean isExist(int index) | |
index - index of element.clear | → inherited from Collection
|
public void clear() | |