com.aspose.slides
Class ShapeCollection

java.lang.Object
  extended by com.aspose.slides.Shapes
      extended by com.aspose.slides.ShapeCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<Shape>, com.aspose.ms.System.Collections.IEnumerable<Shape>, java.lang.Iterable<Shape>

public final class ShapeCollection
extends Shapes
implements com.aspose.ms.System.Collections.ICollection<Shape>

Represents a collection of a shapes.


Method Summary
 void copyTo(com.aspose.ms.System.Array array, int index)
           Copies all elements from the collection to the specified array.
 java.lang.Object getSyncRoot()
           Returns a synchronization root.
 boolean isSynchronized()
           Returns a value indicating whether access to the collection is synchronized (thread-safe).
 int size()
           
 
Methods inherited from class com.aspose.slides.Shapes
add, addAudioFrameEmbedded, addAudioFrameLinked, addConnector, addEllipse, addLine, addOleObjectFrame, addOleObjectFrame, addPictureFrame, addPolyline, addRectangle, addTable, addTable, addVideoFrame, get_Item, getCount, getParent, indexOf, iterator, remove, removeAt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.aspose.ms.System.Collections.IEnumerable
iterator
 

Method Detail

copyTo

public 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<Shape>
Parameters:
array - Target array.
index - Starting index in the target array.

isSynchronized

public boolean isSynchronized()

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

Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<Shape>

getSyncRoot

public java.lang.Object getSyncRoot()

Returns a synchronization root. Readonly object.

Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<Shape>

size

public int size()
Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<Shape>