public class ShapeCollection
Property Getters/Setters Summary | ||
---|---|---|
int | getCount() | |
Gets the number of elements actually contained in the collection.
|
||
Shape | get(int index) | |
Gets the element at the specified index.
|
Method Summary | ||
---|---|---|
int | add(Shape item) | |
Add the shape in the collection.
|
||
void | clear() | |
Removes all elements from collection.
|
||
Shape | getShape(java.lang.String name) | |
Gets the element at the specified name.
|
||
Shape | getShape(long ID) | |
Gets the element at the specified ID.
|
||
Shape | group(com.aspose.diagram.Shape[] groupItems) | |
Group the shapes.
|
||
boolean | isExist(int index) | |
Is exist item in the collection.
|
||
java.util.Iterator | iterator() | |
Supports a simple iteration over a nongeneric collection.
|
||
void | remove(Shape item) | |
Remove the shape from the collection.
|
public int getCount()
public Shape get(int index)
index
- public int add(Shape item)
item
- public void remove(Shape item)
item
- Shapepublic Shape group(com.aspose.diagram.Shape[] groupItems) throws java.lang.Exception
groupItems
- the group items.public Shape getShape(java.lang.String name)
name
- public Shape getShape(long ID)
ID
- public java.util.Iterator iterator()
public boolean isExist(int index)
index
- index of element.public void clear()