com.aspose.slides.pptx
Class ColorTransformEx

java.lang.Object
  extended by com.aspose.slides.pptx.ColorTransformEx
All Implemented Interfaces:
java.lang.Cloneable

public class ColorTransformEx
extends java.lang.Object
implements java.lang.Cloneable

Represents collection of operations used to transform a color.


Method Summary
 int add(ColorTransformOperationEx operation)
          Adds a new operation to the end of collection.
 int add(ColorTransformOperationEx operation, float parameter)
          Adds a new operation to the end of collection.
 void clear()
          Removes all color operations.
 java.lang.Object clone()
          Creates a copy of a ColorTransformEx collection.
 ColorOperationEx get(int index)
          Returns the operation at the specified index.
 void insert(int position, ColorTransformOperationEx operation)
          Inserts the new operation to a collection.
 void insert(int position, ColorTransformOperationEx operation, float parameter)
          Inserts the new operation to a collection.
 void remove(int index)
          Removes the color operation from a collection.
 void set(int index, ColorOperationEx value)
          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
 

Method Detail

size

public int size()
Returns the number of operations in a collection.


get

public ColorOperationEx get(int index)
Returns the operation at the specified index.

Parameters:
index - index of an operation.
Returns:
See ColorOperationEx.

set

public void set(int index,
                ColorOperationEx value)
Sets the operation at the specified index.

Parameters:
index - index of an operation to set.
value - new color operation. See ColorOperationEx.

add

public int add(ColorTransformOperationEx operation,
               float parameter)
Adds a new operation to the end of collection.

Parameters:
operation - operation type. See ColorTransformOperationEx.
parameter - operation's parameter.
Returns:
The index at which the operation has been added.

add

public int add(ColorTransformOperationEx operation)
Adds a new operation to the end of collection.

Parameters:
operation - operation type. See ColorTransformOperationEx.
Returns:
The index at which the operation has been added.

insert

public void insert(int position,
                   ColorTransformOperationEx operation,
                   float parameter)
Inserts the new operation to a collection.

Parameters:
position - The index at which the operation will be inserted.
operation - operation type. See ColorTransformOperationEx.
parameter - operation's parameter.

insert

public void insert(int position,
                   ColorTransformOperationEx operation)
Inserts the new operation to a collection.

Parameters:
position - The index at which the operation will be inserted.
operation - operation type. See ColorTransformOperationEx.

remove

public void remove(int index)
Removes the color operation from a collection.

Parameters:
index - Index of a color operation to remove.

clear

public void clear()
Removes all color operations.


clone

public java.lang.Object clone()
Creates a copy of a ColorTransformEx collection.

Overrides:
clone in class java.lang.Object