|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.slides.Shapes
@Deprecated public class Shapes
Represents a collection of a shapes.
Method Summary | |
---|---|
Shape |
add(java.io.InputStream stream)
Deprecated. |
AudioFrame |
addAudioFrameEmbedded(int x,
int y,
int width,
int height,
java.io.InputStream audio_stream)
Deprecated. |
AudioFrame |
addAudioFrameLinked(int x,
int y,
int width,
int height,
java.lang.String fname)
Deprecated. Adds an AudioFrame with linked audio file to the end of collection. |
Connector |
addConnector(int connectorType,
java.awt.Point pt1,
java.awt.Point pt2)
Deprecated. |
Ellipse |
addEllipse(int x,
int y,
int width,
int height)
Deprecated. Adds an Ellipse to the end of collection. |
Line |
addLine(java.awt.Point pt1,
java.awt.Point pt2)
Deprecated. |
OleObjectFrame |
addOleObjectFrame(int x,
int y,
int width,
int height,
java.lang.String class_name,
byte[] obj_data)
Deprecated. Adds an OleObjectFrame to the end of collection. |
PictureFrame |
addPictureFrame(int id,
int x,
int y,
int width,
int height)
Deprecated. Adds a PictureFrame to the end of collection. |
Polyline |
addPolyline(int x,
int y,
int width,
int height,
java.awt.geom.GeneralPath gp)
Deprecated. Adds a Polyline to the end of a collection. |
Rectangle |
addRectangle(int x,
int y,
int width,
int height)
Deprecated. Adds a Rectangle to the end of collection. |
Table |
addTable(int x,
int y,
int width,
int height,
int columns,
int rows)
Deprecated. Adds a Table to the end of collection. |
Table |
addTable(int x,
int y,
int width,
int height,
int columns,
int rows,
double bordersWidth,
java.awt.Color bordersColor)
Deprecated. |
VideoFrame |
addVideoFrame(int x,
int y,
int width,
int height,
java.lang.String fname)
Deprecated. Adds a VideoFrame to the end of collection. |
Shape |
get_Item(int index)
Deprecated. Gets the element at the specified index. |
int |
getCount()
Deprecated. Gets the number of elements actually contained in the collection. |
java.lang.Object |
getParent()
Deprecated. Returns parent object for a Shapes collection. |
int |
indexOf(Shape shape)
Deprecated. Returns the zero-based index of the first occurrence of a shape in the collection. |
com.aspose.ms.System.Collections.IEnumerator<Shape> |
iterator()
Deprecated. Returns an enumerator for the entire collection. |
boolean |
remove(Shape shape)
Deprecated. Removes the first occurrence of a specific shape from the collection. |
void |
removeAt(int index)
Deprecated. Removes the element at the specified index of the collection. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getCount()
Gets the number of elements actually contained in the collection.
public Shape get_Item(int index)
Gets the element at the specified index.
public Shape add(java.io.InputStream stream)
public PictureFrame addPictureFrame(int id, int x, int y, int width, int height)
Adds a PictureFrame to the end of collection.
id
- ID of a Picture to be placed to a new picture frame.x
- X coordinate of a new picture frame.y
- Y coordinate of a new picture frame.width
- Width of a new picture frame.height
- Height of a new picture frame.
public OleObjectFrame addOleObjectFrame(int x, int y, int width, int height, java.lang.String class_name, byte[] obj_data)
Adds an OleObjectFrame to the end of collection.
x
- X coordinate of a new ole frame.y
- Y coordinate of a new ole frame.width
- Width of a new ole frame.height
- Height of a new ole frame.class_name
- Name of an OLE class.obj_data
- OLE object's data.
public VideoFrame addVideoFrame(int x, int y, int width, int height, java.lang.String fname)
Adds a VideoFrame to the end of collection.
x
- X coordinate of a new video frame.y
- Y coordinate of a new video frame.width
- Width of a new video frame.height
- Height of a new video frame.fname
- Video file name.
public AudioFrame addAudioFrameLinked(int x, int y, int width, int height, java.lang.String fname)
Adds an AudioFrame with linked audio file to the end of collection.
x
- X coordinate of a new audio frame.y
- Y coordinate of a new audio frame.width
- Width of a new audio frame.height
- Height of a new audio frame.fname
- Audio file name.
public AudioFrame addAudioFrameEmbedded(int x, int y, int width, int height, java.io.InputStream audio_stream)
public Line addLine(java.awt.Point pt1, java.awt.Point pt2)
public Connector addConnector(int connectorType, java.awt.Point pt1, java.awt.Point pt2)
public Polyline addPolyline(int x, int y, int width, int height, java.awt.geom.GeneralPath gp)
Adds a Polyline to the end of a collection.
x
- X coordinate of the upper-left corner of the bounding rectangle that defines the polyline.y
- Y coordinate of the upper-left corner of the bounding rectangle that defines the polyline.width
- Width of the bounding rectangle that defines the polyline.height
- Height of the bounding rectangle that defines the polyline.gp
- GraphicsPath that defines the polyline.
public Rectangle addRectangle(int x, int y, int width, int height)
Adds a Rectangle to the end of collection.
x
- X coordinate of the upper-left corner of the rectangle.y
- Y coordinate of the upper-left corner of the rectangle.width
- Width of the rectangle.height
- Height of the rectangle.
public Ellipse addEllipse(int x, int y, int width, int height)
Adds an Ellipse to the end of collection.
x
- X coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.y
- Y coordinate of the upper-left corner of the bounding rectangle that defines the ellipse.width
- Width of the bounding rectangle that defines the ellipse.height
- Height of the bounding rectangle that defines the ellipse.
public Table addTable(int x, int y, int width, int height, int columns, int rows)
Adds a Table to the end of collection.
x
- X coordinate of the upper-left corner of the bounding rectangle that defines the table.y
- Y coordinate of the upper-left corner of the bounding rectangle that defines the table.width
- Width of the bounding rectangle that defines the table.height
- Height of the bounding rectangle that defines the table.columns
- Number of columns in the new table.rows
- Number of rows in the new table.
public Table addTable(int x, int y, int width, int height, int columns, int rows, double bordersWidth, java.awt.Color bordersColor)
public int indexOf(Shape shape)
Returns the zero-based index of the first occurrence of a shape in the collection.
shape
- The shape to locate in the collection.
public void removeAt(int index)
Removes the element at the specified index of the collection.
index
- The zero-based index of the element to remove.public boolean remove(Shape shape)
Removes the first occurrence of a specific shape from the collection.
shape
- The shape to remove from the collection.public com.aspose.ms.System.Collections.IEnumerator<Shape> iterator()
Returns an enumerator for the entire collection.
IEnumerator
for the entire collection.public java.lang.Object getParent()
Returns parent object for a Shapes collection. Read-only Object
.
Can be a Slide
or GroupShape
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |