asposecells.api
Class GradientStopCollection

Represents the gradient stop collection.

Property Getters/Setters Summary
methodgetCount()
          
methodget(index)
methodset(index, value)
           Gets the gradient stop by the index.
 
Method Summary
methodadd(position, color, alpha)
           Add a gradient stop.
methodadd(position, color, alpha)
           Add a gradient stop.
methodadd(value)→ inherited from CollectionBase
          Reserved for internal use.
methodclear()→ inherited from CollectionBase
          
methodcontains(value)→ inherited from CollectionBase
          Reserved for internal use.
methodget(index)→ inherited from CollectionBase
          Reserved for internal use.
methodindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
methoditerator()→ inherited from CollectionBase
          
methodremoveAt(index)→ inherited from CollectionBase
          
 

Property Getters/Setters Detail

getCount : int 

int getCount()

get/set : GradientStop 

GradientStop get(index) / set(index, value)
Gets the gradient stop by the index.
Parameters:
index - The index.
Returns:
The gradient stop.

Method Detail

add

 add(position, color, alpha)
Add a gradient stop.
Parameters:
position: float - The position of the stop,in unit of percentage.
color: CellsColor - The color of the stop.
alpha: int - The alpha of the color.

add

 add(position, color, alpha)
Add a gradient stop.
Parameters:
position: float - The position of the stop,in unit of percentage.
color: Color - The color of the stop.
alpha: int - The alpha of the color.

clear

 clear()

removeAt

 removeAt(index)

iterator

Iterator iterator()

get

Object get(index)
Reserved for internal use.

contains

boolean contains(value)
Reserved for internal use.

add

int add(value)
Reserved for internal use.

indexOf

int indexOf(value)
Reserved for internal use.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.