aspose.cells
Class GradientStopCollection

Represents the gradient stop collection.

Property Getters/Setters Summary
functiongetCount()
          
functionget(index)
functionset(index, value)
           Gets the gradient stop by the index.
 
Method Summary
functionadd(position, color, alpha)
           Add a gradient stop.
functionadd(position, color, alpha)
           Add a gradient stop.
functionadd(value)→ inherited from CollectionBase
          Reserved for internal use.
functionclear()→ inherited from CollectionBase
          
functioncontains(value)→ inherited from CollectionBase
          Reserved for internal use.
functionget(index)→ inherited from CollectionBase
          Reserved for internal use.
functionindexOf(value)→ inherited from CollectionBase
          Reserved for internal use.
functioniterator()→ inherited from CollectionBase
          
functionremoveAt(index)→ inherited from CollectionBase
          
 

Property Getters/Setters Detail

getCount : Number 

function getCount()

get/set : GradientStop 

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

Method Detail

add

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

add

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

clear

function clear()

removeAt

function removeAt(index)

iterator

function iterator()

get

function get(index)
Reserved for internal use.

contains

function contains(value)
Reserved for internal use.

add

function add(value)
Reserved for internal use.

indexOf

function 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.