@Beta @DrawNotImplemented public class XSLFGraphicFrame extends XSLFShape
Modifier and Type | Method and Description |
---|---|
java.awt.Rectangle |
getAnchor()
Returns the anchor (the bounding box rectangle) of this shape.
|
boolean |
getFlipHorizontal()
Whether the shape is horizontally flipped
|
boolean |
getFlipVertical() |
double |
getRotation()
Rotation angle in degrees
|
ShapeType |
getShapeType() |
void |
setAnchor(java.awt.Rectangle anchor) |
void |
setFlipHorizontal(boolean flip) |
void |
setFlipVertical(boolean flip) |
void |
setRotation(double theta)
Rotate this shape.
|
fetchShapeProperty, getBgPr, getBgRef, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getPaint, getParent, getShapeId, getShapeName, getSheet, getSpPr, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent, setPlaceholder
public ShapeType getShapeType()
public java.awt.Rectangle getAnchor()
Shape
public void setAnchor(java.awt.Rectangle anchor)
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).
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).
public void setFlipHorizontal(boolean flip)
public void setFlipVertical(boolean flip)
public boolean getFlipHorizontal()
public boolean getFlipVertical()
Copyright 2016 The Apache Software Foundation or its licensors, as applicable.