|
||||||||||
| 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
| Field Summary |
|---|
| Fields inherited from class org.apache.poi.xslf.usermodel.XSLFShape |
|---|
PML_NS |
| Method Summary | |
|---|---|
java.awt.geom.Rectangle2D |
getAnchor()
Returns the anchor (the bounding box rectangle) of this shape. |
XSLFPictureShape |
getFallbackPicture()
|
boolean |
getFlipHorizontal()
Whether the shape is horizontally flipped |
boolean |
getFlipVertical()
Whether the shape is vertically flipped |
double |
getRotation()
Rotation angle in degrees |
ShapeType |
getShapeType()
|
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 |
|---|
draw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getShapeId, getShapeName, getShapeProperties, getSheet, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent, setPlaceholder |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.poi.sl.usermodel.Shape |
|---|
draw, getParent, getSheet |
| Methods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape |
|---|
getParent, getSheet |
| Method Detail |
|---|
public ShapeType getShapeType()
public java.awt.geom.Rectangle2D getAnchor()
Shape
getAnchor in interface PlaceableShape<XSLFShape,XSLFTextParagraph>getAnchor in interface Shape<XSLFShape,XSLFTextParagraph>public void setAnchor(java.awt.geom.Rectangle2D anchor)
setAnchor in interface PlaceableShape<XSLFShape,XSLFTextParagraph>anchor - 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 interface PlaceableShape<XSLFShape,XSLFTextParagraph>theta - 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 interface PlaceableShape<XSLFShape,XSLFTextParagraph>public void setFlipHorizontal(boolean flip)
setFlipHorizontal in interface PlaceableShape<XSLFShape,XSLFTextParagraph>flip - whether the shape is horizontally flippedpublic void setFlipVertical(boolean flip)
PlaceableShape
setFlipVertical in interface PlaceableShape<XSLFShape,XSLFTextParagraph>flip - whether the shape is vertically flippedpublic boolean getFlipHorizontal()
getFlipHorizontal in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public boolean getFlipVertical()
PlaceableShape
getFlipVertical in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public XSLFPictureShape getFallbackPicture()
getFallbackPicture in interface GraphicalFrame<XSLFShape,XSLFTextParagraph>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||