|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.GradientStopsEx
public class GradientStopsEx
Represents a collection of gradient stops.
Method Summary | |
---|---|
int |
add(float position,
java.awt.Color color)
Creates a new gradient stop and adds it to the end of a collection. |
int |
add(float position,
PresetColorEx presetColor)
Creates a new gradient stop and adds it to the end of a collection. |
int |
add(float position,
SchemeColorEx schemeColor)
Creates a new gradient stop and adds it to the end of a collection. |
void |
clear()
Removes all gradient stops from a collection. |
GradientStopEx |
get(int index)
Returns the gradient stop by index. |
PresentationEx |
getPresentation()
Returns the parent presentation of a gradient stops collection. |
BaseSlideEx |
getSlide()
Returns the parent slide for a gradient stops collection. |
void |
insert(int index,
float position,
java.awt.Color color)
Creates a new gradient stop and inserts it at the specified index to a collection. |
void |
insert(int index,
float position,
PresetColorEx presetColor)
Creates a new gradient stop and inserts it at the specified index to a collection. |
void |
insert(int index,
float position,
SchemeColorEx schemeColor)
Creates a new gradient stop and inserts it at the specified index to a collection. |
java.util.Iterator |
iterator()
Returns an iterator for the entire collection. |
void |
remove(int index)
Removes a gradient stop at the specified index. |
int |
size()
Returns the number of gradient stops in a collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
public GradientStopEx get(int index)
index
- index of a gradient to return.
GradientStopEx
.public int add(float position, java.awt.Color color)
position
- Position of a new gradient stop.color
- Color of a new gradient stop.
public int add(float position, PresetColorEx presetColor)
position
- Position of a new gradient stop.presetColor
- Color of a new gradient stop.
public int add(float position, SchemeColorEx schemeColor)
position
- Position of a new gradient stop.schemeColor
- Color of a new gradient stop.
public void insert(int index, float position, java.awt.Color color)
index
- Index in a collection where a new gradient stop will be
inserted.position
- Position of a new gradient stop.color
- Color of a new gradient stop.public void insert(int index, float position, PresetColorEx presetColor)
index
- Index in a collection where a new gradient stop will be
inserted.position
- Position of a new gradient stop.presetColor
- Color of a new gradient stop.public void insert(int index, float position, SchemeColorEx schemeColor)
index
- Index in a collection where a new gradient stop will be
inserted.position
- Position of a new gradient stop.schemeColor
- Color of a new gradient stop.public void remove(int index)
index
- index of a gradient stop to remove.public void clear()
public java.util.Iterator iterator()
public BaseSlideEx getSlide()
public PresentationEx getPresentation()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |