aspose.cells

Class GradientStopCollection

Represents the gradient stop collection.

Property Getters/Setters Summary
functiongetCount()
functionget(index)
function
set(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)
Reserved for internal use.
functionclear()
functioncontains(value)
Reserved for internal use.
functionget(index)
Reserved for internal use.
functionindexOf(value)
Reserved for internal use.
functioniterator()
functionremoveAt(index)
 

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