com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IGradientStopCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IGradientStop add(float position, java.awt.Color color)
      Creates the new gradient stop and adds it to the end of collection.
      IGradientStop addPresetColor(float position, int presetColor)
      Creates the new gradient stop and adds it to the end of collection.
      IGradientStop addSchemeColor(float position, int schemeColor)
      Creates the new gradient stop and adds it to the end of collection.
      void clear()
      Removes all gradient stops from a collection.
      IGradientStop get_Item(int index)
      Returns the gradient stop by index.
      void insert(int index, float position, java.awt.Color color)
      Creates the new gradient stop and inserts it at the specified index to the collection.
      void insertPresetColor(int index, float position, int presetColor)
      Creates the new gradient stop and inserts it at the specified index to the collection.
      void insertSchemeColor(int index, float position, int schemeColor)
      Creates the new gradient stop and inserts it at the specified index to the collection.
      void removeAt(int index)
      Removes a gradient stop at the specified index.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • get_Item

        IGradientStop get_Item(int index)

        Returns the gradient stop by index.

      • add

        IGradientStop add(float position,
                          java.awt.Color color)

        Creates the new gradient stop and adds it to the end of collection.

        Parameters:
        position - Position of the new gradient stop.
        color - Color of the new gradient stop.
        Returns:
        Index of the new gradient stop in the collection.
      • addPresetColor

        IGradientStop addPresetColor(float position,
                                     int presetColor)

        Creates the new gradient stop and adds it to the end of collection.

        Parameters:
        position - Position of the new gradient stop.
        presetColor - Color of the new gradient stop.
        Returns:
        Index of the new gradient stop in the collection.
      • addSchemeColor

        IGradientStop addSchemeColor(float position,
                                     int schemeColor)

        Creates the new gradient stop and adds it to the end of collection.

        Parameters:
        position - Position of the new gradient stop.
        schemeColor - Color of the new gradient stop.
        Returns:
        Index of the new gradient stop in the collection.
      • insert

        void insert(int index,
                    float position,
                    java.awt.Color color)

        Creates the new gradient stop and inserts it at the specified index to the collection.

        Parameters:
        index - Index in the collection where new gradient stop will be inserted.
        position - Position of the new gradient stop.
        color - Color of the new gradient stop.
      • insertPresetColor

        void insertPresetColor(int index,
                               float position,
                               int presetColor)

        Creates the new gradient stop and inserts it at the specified index to the collection.

        Parameters:
        index - Index in the collection where new gradient stop will be inserted.
        position - Position of the new gradient stop.
        presetColor - Color of the new gradient stop.
      • insertSchemeColor

        void insertSchemeColor(int index,
                               float position,
                               int schemeColor)

        Creates the new gradient stop and inserts it at the specified index to the collection.

        Parameters:
        index - Index in the collection where new gradient stop will be inserted.
        position - Position of the new gradient stop.
        schemeColor - Color of the new gradient stop.
      • removeAt

        void removeAt(int index)

        Removes a gradient stop at the specified index.

        Parameters:
        index - Index of a gradient stop that should be deleted.
      • clear

        void clear()

        Removes all gradient stops from a collection.