java.lang.ObjectCollection
com.aspose.diagram.ShapeCollection
public class ShapeCollection
| Property Getters/Setters Summary | ||
|---|---|---|
int | getCount() | → inherited from Collection
|
| Gets the number of elements actually contained in the collection. | ||
Shape | get(int) | |
| Gets the element at the specified index. | ||
| Method Summary | ||
|---|---|---|
int | add(Shape item) | |
| Add the shape in the collection. | ||
void | clear() | → inherited from Collection
|
| 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 | getShapeIncludingChild(int id) | |
| Gets the element including it's child shape at the specified id. | ||
Shape | getShapeIncludingChild(java.lang.String name) | |
| Gets the element including it's child shape at the specified name. | ||
Shape | group(com.aspose.diagram.Shape[] groupItems) | |
| Group the shapes. | ||
boolean | isExist(int index) | → inherited from Collection
|
| Is exist item in the collection. | ||
java.util.Iterator | iterator() | → inherited from Collection
|
| Supports a simple iteration over a nongeneric collection. | ||
void | remove(Shape item) | |
| Remove the shape from the collection. | ||
void | removeDependsOn(Shape item) | |
| Remove the shapes including DEPENDSON shapes from the collection. | ||
void | unGroup(Shape groupShape) | |
| UnGroup the shape. | ||
| Property Getters/Setters Detail |
|---|
getCount | → inherited from Collection
|
public int getCount() | |
get | |
public Shape get(int index) | |
index - | Method Detail |
|---|
add | |
public int add(Shape item) | |
item - remove | |
public void remove(Shape item) | |
item - ShaperemoveDependsOn | |
public void removeDependsOn(Shape item) throws java.lang.Exception | |
item - ShapeunGroup | |
public void unGroup(Shape groupShape) throws java.lang.Exception | |
groupShape - the group shape.group | |
public Shape group(com.aspose.diagram.Shape[] groupItems) throws java.lang.Exception | |
groupItems - the group items.getShape | |
public Shape getShape(java.lang.String name) | |
name - getShapeIncludingChild | |
public Shape getShapeIncludingChild(java.lang.String name) | |
name - getShapeIncludingChild | |
public Shape getShapeIncludingChild(int id) | |
name - getShape | |
public Shape getShape(long ID) | |
ID - iterator | → inherited from Collection
|
public java.util.Iterator iterator() | |
isExist | → inherited from Collection
|
public boolean isExist(int index) | |
index - index of element.clear | → inherited from Collection
|
public void clear() | |