|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface defines the drawing API.
| Method Summary | |
Shape |
addPicture(byte[] data,
ShapeAnchor shapeAnchor)
Adds a new picture to the drawing. |
Shape |
addPicture(java.io.InputStream input,
ShapeAnchor shapeAnchor)
Adds a new picture to the drawing. |
Shape |
addShape(EAutoShape eShape,
ShapeAnchor shapeAnchor)
Adds a new AutoShape to the drawing. |
Shape |
findShape(int spid)
Finds a shape from a shape ID. |
ShapeRange |
findShapes(int[] shapeIDs)
Finds a range of shapes from an array of shape IDs. |
ShapeRange |
getAllShapes()
Returns a range of all shapes in the drawing. |
Shape |
getShape(int nIndex)
Gets a shape based on its index in the drawing. |
int |
getShapeCount()
Returns the number of shapes in the drawing. |
| Methods inherited from interface com.f1j.util.Lockable |
getLock,
releaseLock |
| Method Detail |
public Shape addShape(EAutoShape eShape,
ShapeAnchor shapeAnchor)
throws AccessDeniedException,
F1Exception
eShape - An enumerated value defined in the
AutoShapeTypes interface.shapeAnchor - An interface to a client-defined object specifying
the position and size of the shape.
public Shape addPicture(byte[] data,
ShapeAnchor shapeAnchor)
throws AccessDeniedException,
InvalidArgumentException,
F1Exception
data - Image datashapeAnchor - An interface to a client-defined object specifying
the position and size of the shape.
public Shape addPicture(java.io.InputStream input,
ShapeAnchor shapeAnchor)
throws AccessDeniedException,
InvalidArgumentException,
F1Exception
input - Input stream containing image datashapeAnchor - An interface to a client-defined object specifying
the position and size of the shape.
public Shape findShape(int spid)
throws InvalidArgumentException
spid - The shape ID
public ShapeRange findShapes(int[] shapeIDs)
throws InvalidArgumentException
shapeIDs - The shape IDspublic ShapeRange getAllShapes()
public Shape getShape(int nIndex)
nIndex - The indexpublic int getShapeCount()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||