TextAnimationCollection

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.slides.ITextAnimationCollection

public class TextAnimationCollection implements ITextAnimationCollection

Represents collection of text animations.

Constructors

Constructor Description
TextAnimationCollection()

Methods

Method Description
size() Returns a number of elements in the collection.
add() Adds new text animation to the collection.
get_Item(int index) Returns element by index.
get_Item(IShape shape) Returns all elements
iterator() Returns an enumerator that iterates through the collection.
iteratorJava() Returns a java iterator for the entire collection.
copyTo(System.Array array, int index) Copies all elements from the collection into the specified array.
isSynchronized() Returns a value indicating whether access to the collection is synchronized (thread-safe).
getSyncRoot() Returns a synchronization root.

TextAnimationCollection()

public TextAnimationCollection()

size()

public final int size()

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

Returns: int

add()

public final TextAnimation add()

Adds new text animation to the collection.

Returns: TextAnimation - Added TextAnimation

get_Item(int index)

public final ITextAnimation get_Item(int index)

Returns element by index.

Parameters:

Parameter Type Description
index int

Returns: ITextAnimation

get_Item(IShape shape)

public final ITextAnimation[] get_Item(IShape shape)

Returns all elements

Parameters:

Parameter Type Description
shape IShape IShape to remove.

Returns: com.aspose.slides.ITextAnimation[] - Array of ITextAnimation

iterator()

public final System.Collections.Generic.IGenericEnumerator<ITextAnimation> iterator()

Returns an enumerator that iterates through the collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.ITextAnimation> - A IGenericEnumerator that can be used to iterate through the collection.

iteratorJava()

public final System.Collections.Generic.IGenericEnumerator<ITextAnimation> iteratorJava()

Returns a java iterator for the entire collection.

Returns: com.aspose.ms.System.Collections.Generic.IGenericEnumerator<com.aspose.slides.ITextAnimation> - An java.util.Iterator for the entire collection.

copyTo(System.Array array, int index)

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

Copies all elements from the collection into the specified array.

Parameters:

Parameter Type Description
array com.aspose.ms.System.Array Array to fill.
index int Starting position in target array.

isSynchronized()

public final boolean isSynchronized()

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

Returns: boolean

getSyncRoot()

public final Object getSyncRoot()

Returns a synchronization root. Read-only Object.

Returns: java.lang.Object