gradientstoplist-ag凯发旗舰厅



com.spire.presentation.collections
class gradientstoplist

java.lang.object
  extended by com.spire.presentation.collections.gradientstoplist
all implemented interfaces:
com.spire.ms.system.collections.ienumerable, iactivepresentation, islidecomponent, java.lang.iterable
direct known subclasses:
gradientstopcollection

public class gradientstoplist
extends java.lang.object
implements com.spire.ms.system.collections.ienumerable, islidecomponent

represnts a collection of gradient stops.


constructor summary
gradientstoplist(islidecomponent parent)
           
 
method summary
 boolean append(float position, java.awt.color color)
          creates the new gradient stop.
 boolean append(float position, knowncolors knowncolor)
          creates the new gradient stop and adds it to the collection.
 gradientstop get(int index)
          gets the gradient stop by index.
 int getcount()
          gets the number of gradient stops in a collection.
 void insert(int index, float position, java.awt.color color)
          creates the new gradient stop.
 void insert(int index, float position, schemecolor schemecolor)
          creates the new gradient stop.
 com.spire.ms.system.collections.ienumerator iterator()
           
 void removeall()
          removes all gradient stops from a collection.
 void removeat(int index)
          removes a gradient stop at the specified index.
 
methods inherited from interface com.spire.presentation.islidecomponent
getslide
 
methods inherited from interface com.spire.presentation.iactivepresentation
getpresentation
 
constructor detail

gradientstoplist

public gradientstoplist(islidecomponent parent)
method detail

getcount

public int getcount()
gets the number of gradient stops in a collection. read-only .
returns:

get

public gradientstop get(int index)
gets the gradient stop by index.
parameters:
index -
returns:

append

public boolean append(float position,
                      java.awt.color color)
creates the new gradient stop.
parameters:
position -
color -
returns:
throws:
java.lang.exception

append

public boolean append(float position,
                      knowncolors knowncolor)
creates the new gradient stop and adds it to the collection.
parameters:
position -
knowncolor -
returns:
throws:
java.lang.exception

insert

public void insert(int index,
                   float position,
                   java.awt.color color)
creates the new gradient stop.
parameters:
index -
position -
color -
throws:
java.lang.exception

insert

public void insert(int index,
                   float position,
                   schemecolor schemecolor)
creates the new gradient stop.
parameters:
index -
position -
schemecolor -

removeat

public void removeat(int index)
removes a gradient stop at the specified index.
parameters:
index -

removeall

public void removeall()
removes all gradient stops from a collection.

iterator

public com.spire.ms.system.collections.ienumerator iterator()


网站地图