|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.pptx.ShapesEx
public final class ShapesEx
Represents a collection of shapes.
Method Summary | |
---|---|
int |
addAutoShape(ShapeTypeEx shapeType,
float x,
float y,
float width,
float height)
|
int |
addConnector(ShapeTypeEx shapeType,
float x,
float y,
float width,
float height)
|
int |
addPictureFrame(ShapeTypeEx shapeType,
float x,
float y,
float width,
float height,
ImageEx image)
|
int |
addTable(float x,
float y,
double[] columnWidths,
double[] rowHeights)
|
ShapeEx |
get(int index)
Gets the element at the specified index. |
java.lang.Object |
getParent()
Returns a parent object for a Shapes collection. |
int |
indexOf(ShapeEx shape)
Returns the zero-based index of the first occurrence of a shape in a collection. |
void |
insertAutoShape(int index,
ShapeTypeEx shapeType,
float x,
float y,
float width,
float height)
|
void |
insertConnector(int index,
ShapeTypeEx shapeType,
float x,
float y,
float width,
float height)
|
void |
insertConnector(int index,
ShapeTypeEx shapeType,
float x,
float y,
float width,
float height,
ImageEx image)
|
void |
insertTable(int index,
float x,
float y,
double[] columnWidths,
double[] rowHeights)
|
java.util.Iterator |
iterator()
Returns an iterator for the entire collection. |
void |
remove(int index)
Removes the element at the specified index of the collection. |
void |
remove(ShapeEx shape)
Removes the first occurrence of a specific shape from the collection. |
void |
reorder(int index,
ShapeEx shape)
|
void |
reorder(int index,
ShapeEx[] shapes)
|
int |
size()
Gets the number of elements actually contained in the collection. |
ShapeEx[] |
toArray()
|
ShapeEx[] |
toArray(int startIndex,
int count)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
public ShapeEx get(int index)
index
- index of the element to return.
ShapeEx
.public int indexOf(ShapeEx shape)
shape
- The shape to locate in a collection.
public ShapeEx[] toArray()
public ShapeEx[] toArray(int startIndex, int count)
public void reorder(int index, ShapeEx shape)
public void reorder(int index, ShapeEx[] shapes)
public int addAutoShape(ShapeTypeEx shapeType, float x, float y, float width, float height)
public void insertAutoShape(int index, ShapeTypeEx shapeType, float x, float y, float width, float height)
public int addConnector(ShapeTypeEx shapeType, float x, float y, float width, float height)
public void insertConnector(int index, ShapeTypeEx shapeType, float x, float y, float width, float height)
public int addPictureFrame(ShapeTypeEx shapeType, float x, float y, float width, float height, ImageEx image)
public void insertConnector(int index, ShapeTypeEx shapeType, float x, float y, float width, float height, ImageEx image)
public int addTable(float x, float y, double[] columnWidths, double[] rowHeights)
public void insertTable(int index, float x, float y, double[] columnWidths, double[] rowHeights)
public void remove(int index)
index
- The zero-based index of the element to remove.public void remove(ShapeEx shape)
shape
- The shape to remove from the collection.public java.util.Iterator iterator()
public java.lang.Object getParent()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |