| Modifier and Type | Method and Description |
|---|---|
| public void | draw(Graphics2D
the graphics context graphics, Rectangle2D the rectangle to fit the shape to.
if null, the bounds of the shape are used. bounds)Convenience method to draw a single shape |
| public Rectangle2D | Returns: the anchor of this shapeReturns the anchor (the bounding box rectangle) of this shape. |
| public ShapeContainer | |
| public int | Returns: unique id of this shapeReturns a unique identifier for this shape within the current slide. |
| public String | |
| public Sheet |
| draw | back to summary |
|---|---|
| public void draw(Graphics2D graphics, Rectangle2D bounds) Convenience method to draw a single shape
| |
| getAnchor | back to summary |
|---|---|
| public Rectangle2D getAnchor() Returns the anchor (the bounding box rectangle) of this shape. All coordinates are expressed in points (72 dpi).
| |
| getParent | back to summary |
|---|---|
| public ShapeContainer | |
| getShapeId | back to summary |
|---|---|
| public int getShapeId() Returns a unique identifier for this shape within the current slide. This ID may be used to assist in uniquely identifying this object so that it can be referred to by other parts of the document. If multiple objects within the same slide share the same id attribute value, then the document shall be considered non-conformant.
| |
| getShapeName | back to summary |
|---|---|
public String getShapeName()
| |
| getSheet | back to summary |
|---|---|
public Sheet
| |