asposecells.api

Class GradientStopCollection

Represents the gradient stop collection.

Property Getters/Setters Summary
methodgetCount()
methodget(index)
method
set(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)
Reserved for internal use.
methodclear()
methodcontains(value)
Reserved for internal use.
methodget(index)
Reserved for internal use.
methodindexOf(value)
Reserved for internal use.
methoditerator()
methodremoveAt(index)
 

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