|
||||||||||
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.XSLFSimpleShape
@Beta public abstract class XSLFSimpleShape
Method Summary | |
---|---|
java.awt.geom.Rectangle2D |
getAnchor()
|
boolean |
getFlipHorizontal()
Whether the shape is horizontally flipped |
boolean |
getFlipVertical()
|
LineCap |
getLineCap()
|
java.awt.Color |
getLineColor()
|
LineDash |
getLineDash()
|
double |
getLineWidth()
|
protected org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps |
getNvPr()
|
double |
getRotation()
Rotation angle in degrees |
int |
getShapeId()
|
java.lang.String |
getShapeName()
|
int |
getShapeType()
TODO match STShapeType with ShapeTypes |
XSLFSheet |
getSheet()
|
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getSpPr()
|
org.apache.xmlbeans.XmlObject |
getXmlObject()
|
void |
setAnchor(java.awt.geom.Rectangle2D anchor)
|
void |
setFlipHorizontal(boolean flip)
|
void |
setFlipVertical(boolean flip)
|
void |
setLineCap(LineCap cap)
|
void |
setLineColor(java.awt.Color color)
|
void |
setLineDash(LineDash dash)
|
void |
setLineWidth(double width)
|
void |
setRotation(double theta)
Rotate this shape. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public org.apache.xmlbeans.XmlObject getXmlObject()
getXmlObject
in class XSLFShape
public XSLFSheet getSheet()
public int getShapeType()
ShapeTypes
public java.lang.String getShapeName()
getShapeName
in class XSLFShape
public int getShapeId()
getShapeId
in class XSLFShape
protected org.openxmlformats.schemas.drawingml.x2006.main.CTNonVisualDrawingProps getNvPr()
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getSpPr()
public java.awt.geom.Rectangle2D getAnchor()
getAnchor
in class XSLFShape
public void setAnchor(java.awt.geom.Rectangle2D anchor)
setAnchor
in class XSLFShape
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()
public void setLineColor(java.awt.Color color)
public java.awt.Color getLineColor()
public void setLineWidth(double width)
public double getLineWidth()
public void setLineDash(LineDash dash)
public LineDash getLineDash()
public void setLineCap(LineCap cap)
public LineCap getLineCap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |