public interface IGradientStopCollection extends IGenericCollection<IGradientStop>
Represnts a collection of gradient stops.
Modifier and Type | Method and Description |
---|---|
IGradientStop |
add(float position,
java.awt.Color color)
Creates the new gradient stop and adds it to the end of collection.
|
IGradientStop |
addPresetColor(float position,
int presetColor)
Creates the new gradient stop and adds it to the end of collection.
|
IGradientStop |
addSchemeColor(float position,
int schemeColor)
Creates the new gradient stop and adds it to the end of collection.
|
void |
clear()
Removes all gradient stops from a collection.
|
IGradientStop |
get_Item(int index)
Returns the gradient stop by index.
|
void |
insert(int index,
float position,
java.awt.Color color)
Creates the new gradient stop and inserts it at the specified index to the collection.
|
void |
insertPresetColor(int index,
float position,
int presetColor)
Creates the new gradient stop and inserts it at the specified index to the collection.
|
void |
insertSchemeColor(int index,
float position,
int schemeColor)
Creates the new gradient stop and inserts it at the specified index to the collection.
|
void |
removeAt(int index)
Removes a gradient stop at the specified index.
|
iterator
IGradientStop get_Item(int index)
Returns the gradient stop by index.
IGradientStop add(float position, java.awt.Color color)
Creates the new gradient stop and adds it to the end of collection.
position
- Position of the new gradient stop.color
- Color of the new gradient stop.IGradientStop addPresetColor(float position, int presetColor)
Creates the new gradient stop and adds it to the end of collection.
position
- Position of the new gradient stop.presetColor
- Color of the new gradient stop.IGradientStop addSchemeColor(float position, int schemeColor)
Creates the new gradient stop and adds it to the end of collection.
position
- Position of the new gradient stop.schemeColor
- Color of the new gradient stop.void insert(int index, float position, java.awt.Color color)
Creates the new gradient stop and inserts it at the specified index to the collection.
index
- Index in the collection where new gradient stop will be inserted.position
- Position of the new gradient stop.color
- Color of the new gradient stop.void insertPresetColor(int index, float position, int presetColor)
Creates the new gradient stop and inserts it at the specified index to the collection.
index
- Index in the collection where new gradient stop will be inserted.position
- Position of the new gradient stop.presetColor
- Color of the new gradient stop.void insertSchemeColor(int index, float position, int schemeColor)
Creates the new gradient stop and inserts it at the specified index to the collection.
index
- Index in the collection where new gradient stop will be inserted.position
- Position of the new gradient stop.schemeColor
- Color of the new gradient stop.void removeAt(int index)
Removes a gradient stop at the specified index.
index
- Index of a gradient stop that should be deleted.void clear()
Removes all gradient stops from a collection.