@Beta public class XSLFGraphicFrame extends XSLFShape implements GraphicalFrame<XSLFShape,XSLFTextParagraph>
| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.Rectangle2D |
getAnchor() |
XSLFPictureShape |
getFallbackPicture() |
boolean |
getFlipHorizontal()
Whether the shape is horizontally flipped
|
boolean |
getFlipVertical() |
double |
getRotation()
Rotation angle in degrees
|
ShapeType |
getShapeType() |
void |
setAnchor(java.awt.geom.Rectangle2D anchor) |
void |
setFlipHorizontal(boolean flip) |
void |
setFlipVertical(boolean flip) |
void |
setRotation(double theta)
Rotate this shape.
|
draw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getShapeId, getShapeName, getShapeProperties, getSheet, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent, setPlaceholderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetParent, getSheetpublic ShapeType getShapeType()
public java.awt.geom.Rectangle2D getAnchor()
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>public 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>public void setFlipVertical(boolean flip)
setFlipVertical in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public boolean getFlipHorizontal()
getFlipHorizontal in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public boolean getFlipVertical()
getFlipVertical in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public XSLFPictureShape getFallbackPicture()
getFallbackPicture in interface GraphicalFrame<XSLFShape,XSLFTextParagraph>