public class TextAnimationCollection extends java.lang.Object implements ITextAnimationCollection
Represent collection of text animations.
Constructor and Description |
---|
TextAnimationCollection() |
Modifier and Type | Method and Description |
---|---|
TextAnimation |
add()
Adds new text animation to the collection.
|
void |
copyTo(com.aspose.ms.System.Array array,
int index)
Copies all elements from the collection into the specified array.
|
ITextAnimation |
get_Item(int index)
Returns element by index.
|
ITextAnimation[] |
get_Item(IShape shape)
Returns all elements
|
java.lang.Object |
getSyncRoot()
Returns a synchronization root.
|
boolean |
isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
|
com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITextAnimation> |
iterator()
Returns an enumerator that iterates through the collection.
|
int |
size()
Returns a number of elements in the collection.
|
public final int size()
Returns a number of elements in the collection.
Read-only int
.
size
in interface com.aspose.ms.System.Collections.ICollection<ITextAnimation>
public final TextAnimation add()
Adds new text animation to the collection.
TextAnimation
public final ITextAnimation get_Item(int index)
Returns element by index.
get_Item
in interface ITextAnimationCollection
public final ITextAnimation[] get_Item(IShape shape)
Returns all elements
get_Item
in interface ITextAnimationCollection
shape
- IShape
to remove.ITextAnimation
public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<ITextAnimation> iterator()
Returns an enumerator that iterates through the collection.
iterator
in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<ITextAnimation>
iterator
in interface com.aspose.ms.System.Collections.IEnumerable<ITextAnimation>
iterator
in interface java.lang.Iterable<ITextAnimation>
System.Collections.Generic.IEnumerator`1
that can be used to iterate through the collection.public final void copyTo(com.aspose.ms.System.Array array, int index)
Copies all elements from the collection into the specified array.
copyTo
in interface com.aspose.ms.System.Collections.ICollection<ITextAnimation>
array
- Array to fill.index
- Starting position in target array.public final boolean isSynchronized()
Returns a value indicating whether access to the collection is synchronized (thread-safe).
Read-only boolean
.
isSynchronized
in interface com.aspose.ms.System.Collections.ICollection<ITextAnimation>
public final java.lang.Object getSyncRoot()
Returns a synchronization root.
Read-only Object
.
getSyncRoot
in interface com.aspose.ms.System.Collections.ICollection<ITextAnimation>