org.apache.poi.sl.usermodel
Interface Shape<S extends Shape<S,P>,P extends TextParagraph<S,P,?>>

All Known Subinterfaces:
AutoShape<S,P>, Background<S,P>, ConnectorShape<S,P>, FreeformShape<S,P>, GroupShape<S,P>, Line<S,P>, PictureShape<S,P>, SimpleShape<S,P>, TableCell<S,P>, TableShape<S,P>, TextBox<S,P>, TextShape<S,P>
All Known Implementing Classes:
ActiveXShape, HSLFAutoShape, HSLFBackground, HSLFConnectorShape, HSLFFreeformShape, HSLFGroupShape, HSLFLine, HSLFPictureShape, HSLFShape, HSLFSimpleShape, HSLFTable, HSLFTableCell, HSLFTextBox, HSLFTextShape, MovieShape, OLEShape, Placeholder, Polygon, XSLFAutoShape, XSLFBackground, XSLFConnectorShape, XSLFFreeformShape, XSLFGraphicFrame, XSLFGroupShape, XSLFPictureShape, XSLFShadow, XSLFShape, XSLFSimpleShape, XSLFTable, XSLFTableCell, XSLFTextBox, XSLFTextShape

public interface Shape<S extends Shape<S,P>,P extends TextParagraph<S,P,?>>


Method Summary
 java.awt.Rectangle getAnchor()
          Returns the anchor (the bounding box rectangle) of this shape.
 ShapeContainer<S,P> getParent()
           
 Sheet<S,P> getSheet()
           
 

Method Detail

getParent

ShapeContainer<S,P> getParent()

getSheet

Sheet<S,P> getSheet()
Returns:
the sheet this shape belongs to

getAnchor

java.awt.Rectangle getAnchor()
Returns the anchor (the bounding box rectangle) of this shape. All coordinates are expressed in points (72 dpi).

Returns:
the anchor of this shape


Copyright 2015 The Apache Software Foundation or its licensors, as applicable.