|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.xslf.usermodel.XSLFShape
org.apache.poi.xslf.usermodel.XSLFGraphicFrame
@Beta public class XSLFGraphicFrame
| Method Summary | |
|---|---|
void |
draw(java.awt.Graphics2D graphics)
Draw this shape into the supplied canvas |
java.awt.geom.Rectangle2D |
getAnchor()
|
boolean |
getFlipHorizontal()
Whether the shape is horizontally flipped |
boolean |
getFlipVertical()
Whether the shape is vertically flipped |
double |
getRotation()
Rotation angle in degrees |
int |
getShapeId()
Returns a unique identifier for this shape within the current document. |
java.lang.String |
getShapeName()
|
int |
getShapeType()
|
XSLFSheet |
getSheet()
|
org.openxmlformats.schemas.presentationml.x2006.main.CTGraphicalObjectFrame |
getXmlObject()
|
void |
setAnchor(java.awt.geom.Rectangle2D anchor)
|
void |
setFlipHorizontal(boolean flip)
|
void |
setFlipVertical(boolean flip)
Whether the shape is vertically flipped |
void |
setRotation(double theta)
Rotate this shape. |
| Methods inherited from class org.apache.poi.xslf.usermodel.XSLFShape |
|---|
applyTransform |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public org.openxmlformats.schemas.presentationml.x2006.main.CTGraphicalObjectFrame getXmlObject()
getXmlObject in class XSLFShapepublic XSLFSheet getSheet()
public int getShapeType()
public int getShapeId()
XSLFShapeIf multiple objects within the same document share the same id attribute value, then the document shall be considered non-conformant.
getShapeId in class XSLFShapepublic java.lang.String getShapeName()
getShapeName in class XSLFShapepublic java.awt.geom.Rectangle2D getAnchor()
getAnchor in class XSLFShapepublic void setAnchor(java.awt.geom.Rectangle2D anchor)
setAnchor in class XSLFShapeanchor - the position of this shape within the drawing canvas.
The coordinates are expressed in pointspublic void setRotation(double theta)
Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).
setRotation in class XSLFShapetheta - the rotation angle in degrees.public double getRotation()
Positive angles are clockwise (i.e., towards the positive y axis); negative angles are counter-clockwise (i.e., towards the negative y axis).
getRotation in class XSLFShapepublic void setFlipHorizontal(boolean flip)
setFlipHorizontal in class XSLFShapeflip - whether the shape is horizontally flippedpublic void setFlipVertical(boolean flip)
XSLFShape
setFlipVertical in class XSLFShapeflip - whether the shape is vertically flippedpublic boolean getFlipHorizontal()
getFlipHorizontal in class XSLFShapepublic boolean getFlipVertical()
XSLFShape
getFlipVertical in class XSLFShapepublic void draw(java.awt.Graphics2D graphics)
XSLFShape
draw in class XSLFShapegraphics - the graphics to draw into
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||