com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class ColorOperationCollection

  • java.lang.Object
    • com.aspose.slides.ColorOperationCollection
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      IColorOperation add(int operation)
      Adds a new operation to the end of collection.
      IColorOperation add(int operation, float parameter)
      Adds a new operation to the end of collection.
      void clear()
      Removes all color operations.
      IColorOperationCollection cloneT()
      Clones current object
      void copyTo(com.aspose.ms.System.Array array, int index)
      Copies all elements from the collection to the specified array.
      java.lang.Object deepClone()
      Creates a copy of a ColorOperationCollection collection.
      IColorOperation get_Item(int index)
      Returns or sets the operation at the specified index.
      java.lang.Object getSyncRoot()
      Returns a synchronization root.
      IColorOperation insert(int position, int operation)
      Inserts the new operation to a collection.
      IColorOperation insert(int position, int operation, float parameter)
      Inserts the new operation to a collection.
      boolean isSynchronized()
      Returns a value indicating whether access to the collection is synchronized (thread-safe).
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IColorOperation> iterator()
      Returns an enumerator that iterates through the collection.
      com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IColorOperation> iteratorJava()
      Returns a java iterator for the entire collection.
      void removeAt(int index)
      Removes the color operation from a collection.
      void set_Item(int index, IColorOperation value)
      Returns or sets the operation at the specified index.
      int size()
      Returns the number of operations in a collection.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • size

        public final int size()

        Returns the number of operations in a collection. Read-only int.

        Specified by:
        size in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
      • add

        public final IColorOperation add(int operation,
                                         float parameter)

        Adds a new operation to the end of collection.

        Specified by:
        add in interface IColorOperationCollection
        Parameters:
        operation - Operation type.
        parameter - Operation's parameter.
        Returns:
        Added operation.
      • add

        public final IColorOperation add(int operation)

        Adds a new operation to the end of collection.

        Specified by:
        add in interface IColorOperationCollection
        Parameters:
        operation - Operation type.
        Returns:
        Added operation.
      • insert

        public final IColorOperation insert(int position,
                                            int operation,
                                            float parameter)

        Inserts the new operation to a collection.

        Specified by:
        insert in interface IColorOperationCollection
        Parameters:
        position - The index at which the operation will be inserted.
        operation - Operation type.
        parameter - Operation's parameter.
        Returns:
        Inserted operation.
      • insert

        public final IColorOperation insert(int position,
                                            int operation)

        Inserts the new operation to a collection.

        Specified by:
        insert in interface IColorOperationCollection
        Parameters:
        position - The index at which the operation will be inserted.
        operation - Operation type.
        Returns:
        Inserted operation.
      • removeAt

        public final void removeAt(int index)

        Removes the color operation from a collection.

        Specified by:
        removeAt in interface IColorOperationCollection
        Parameters:
        index - Index of a color operation to remove.
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<IColorOperation> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IColorOperation>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<IColorOperation>
        Specified by:
        iterator in interface java.lang.Iterable<IColorOperation>
        Returns:
        A System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
      • copyTo

        public final void copyTo(com.aspose.ms.System.Array array,
                                 int index)

        Copies all elements from the collection to the specified array.

        Specified by:
        copyTo in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
        Parameters:
        array - Target array.
        index - Starting index in the target array.
      • isSynchronized

        public final boolean isSynchronized()

        Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only boolean.

        Specified by:
        isSynchronized in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
      • getSyncRoot

        public final java.lang.Object getSyncRoot()

        Returns a synchronization root. Read-only Object.

        Specified by:
        getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<IColorOperation>
      • deepClone

        public final java.lang.Object deepClone()

        Creates a copy of a ColorOperationCollection collection.

        Returns:
        New ColorOperationCollection collection.