com.aspose.slides
Class GradientStopsEx

java.lang.Object
  extended by com.aspose.slides.GradientStopsEx
All Implemented Interfaces:
com.aspose.ms.System.Collections.IEnumerable<GradientStopEx>, java.lang.Iterable<GradientStopEx>
Direct Known Subclasses:
GradientStopExCollection

Deprecated.

@Deprecated
public class GradientStopsEx
extends java.lang.Object
implements com.aspose.ms.System.Collections.IEnumerable<GradientStopEx>

Represnts a collection of gradient stops.


Method Summary
 int add(float position, java.awt.Color color)
          Deprecated.  
 int add(float position, int presetColor)
          Deprecated.  Creates the new gradient stop and adds it to the end of collection.
 int add(float position, SchemeColorEx schemeColor)
          Deprecated.  Creates the new gradient stop and adds it to the end of collection.
 void clear()
          Deprecated.  Removes all gradient stops from a collection.
 GradientStopEx get_Item(int index)
          Deprecated.  Returns the gradient stop by index.
 int getCount()
          Deprecated.  Returns the number of gradient stops in a collection.
 PresentationEx getPresentation()
          Deprecated.  Returns the parent presentation of a gradient stops collection.
 BaseSlideEx getSlide()
          Deprecated.  Returns the parent slide for a gradient stops collection.
 void insert(int index, float position, java.awt.Color color)
          Deprecated.  
 void insert(int index, float position, int presetColor)
          Deprecated.  Creates the new gradient stop and inserts it at the specified index to the collection.
 void insert(int index, float position, SchemeColorEx schemeColor)
          Deprecated.  Creates the new gradient stop and inserts it at the specified index to the collection.
 com.aspose.ms.System.Collections.IEnumerator<GradientStopEx> iterator()
          Deprecated.  Returns an enumerator for the entire collection.
 void removeAt(int index)
          Deprecated.  Removes a gradient stop at the specified index.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Deprecated. 

Returns the number of gradient stops in a collection. Read-only int.


get_Item

public GradientStopEx get_Item(int index)
Deprecated. 

Returns the gradient stop by index.


add

public int add(float position,
               java.awt.Color color)
Deprecated. 

add

public int add(float position,
               int presetColor)
Deprecated. 

Creates the new gradient stop and adds it to the end of collection.

Parameters:
position - Position of the new gradient stop.
presetColor - Color of the new radient stop.
Returns:
Index of the new gradient stop in the collection.

add

public int add(float position,
               SchemeColorEx schemeColor)
Deprecated. 

Creates the new gradient stop and adds it to the end of collection.

Parameters:
position - Position of the new gradient stop.
schemeColor - Color of the new radient stop.
Returns:
Index of the new gradient stop in the collection.

insert

public void insert(int index,
                   float position,
                   java.awt.Color color)
Deprecated. 

insert

public void insert(int index,
                   float position,
                   int presetColor)
Deprecated. 

Creates the new gradient stop and inserts it at the specified index to the collection.

Parameters:
index - Index in the collection where new gradient stop will be inserted.
position - Position of the new gradient stop.
presetColor - Color of the new radient stop.

insert

public void insert(int index,
                   float position,
                   SchemeColorEx schemeColor)
Deprecated. 

Creates the new gradient stop and inserts it at the specified index to the collection.

Parameters:
index - Index in the collection where new gradient stop will be inserted.
position - Position of the new gradient stop.
schemeColor - Color of the new radient stop.

removeAt

public void removeAt(int index)
Deprecated. 

Removes a gradient stop at the specified index.

Parameters:
index - Index of a gradient stop that should be deleted.

clear

public void clear()
Deprecated. 

Removes all gradient stops from a collection.


iterator

public com.aspose.ms.System.Collections.IEnumerator<GradientStopEx> iterator()
Deprecated. 

Returns an enumerator for the entire collection.

Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<GradientStopEx>
Specified by:
iterator in interface java.lang.Iterable<GradientStopEx>
Returns:
An IEnumerator for the entire collection.

getSlide

public BaseSlideEx getSlide()
Deprecated. 

Returns the parent slide for a gradient stops collection. Read-only BaseSlideEx.


getPresentation

public PresentationEx getPresentation()
Deprecated. 

Returns the parent presentation of a gradient stops collection. Read-only PresentationEx.