@Beta public abstract class XSLFSimpleShape extends XSLFShape implements SimpleShape<XSLFShape,XSLFTextParagraph>
draw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getShapeProperties, getSheet, getSpStyle, getXmlObject, isPlaceholder, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent, setPlaceholderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPlaceholder, getPlaceholderDetails, isPlaceholder, setPlaceholderdraw, getParent, getShapeId, getShapeName, getSheetgetParent, getSheetpublic void setShapeType(ShapeType type)
setShapeType in interface SimpleShape<XSLFShape,XSLFTextParagraph>public ShapeType getShapeType()
getShapeType in interface SimpleShape<XSLFShape,XSLFTextParagraph>protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D getXfrm(boolean create)
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)
setRotation in interface PlaceableShape<XSLFShape,XSLFTextParagraph>public double getRotation()
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 void setLineColor(java.awt.Color color)
color - the color to paint the shape outline.
A null value turns off the shape outline.public java.awt.Color getLineColor()
null
if outline is turned offprotected PaintStyle getLinePaint()
public void setLineWidth(double width)
width - line width in points. 0 means no linepublic double getLineWidth()
0 means no line.public void setLineCompound(StrokeStyle.LineCompound compound)
compound - set the line compound stylepublic StrokeStyle.LineCompound getLineCompound()
public void setLineDash(StrokeStyle.LineDash dash)
dash - a preset line dashing scheme to stroke thr shape outlinepublic StrokeStyle.LineDash getLineDash()
public void setLineCap(StrokeStyle.LineCap cap)
cap - the line end cap stylepublic StrokeStyle.LineCap getLineCap()
public void setFillColor(java.awt.Color color)
setFillColor in interface SimpleShape<XSLFShape,XSLFTextParagraph>public java.awt.Color getFillColor()
getFillColor in interface SimpleShape<XSLFShape,XSLFTextParagraph>public XSLFShadow getShadow()
getShadow in interface SimpleShape<XSLFShape,XSLFTextParagraph>public CustomGeometry getGeometry()
getGeometry in interface SimpleShape<XSLFShape,XSLFTextParagraph>public void setLineHeadDecoration(LineDecoration.DecorationShape style)
style - the line end docoration stylepublic LineDecoration.DecorationShape getLineHeadDecoration()
public void setLineHeadWidth(LineDecoration.DecorationSize style)
style - the decoration widthpublic LineDecoration.DecorationSize getLineHeadWidth()
public void setLineHeadLength(LineDecoration.DecorationSize style)
public LineDecoration.DecorationSize getLineHeadLength()
public void setLineTailDecoration(LineDecoration.DecorationShape style)
public LineDecoration.DecorationShape getLineTailDecoration()
public void setLineTailWidth(LineDecoration.DecorationSize style)
public LineDecoration.DecorationSize getLineTailWidth()
public void setLineTailLength(LineDecoration.DecorationSize style)
public LineDecoration.DecorationSize getLineTailLength()
public Guide getAdjustValue(java.lang.String name)
getAdjustValue in interface IAdjustableShapepublic LineDecoration getLineDecoration()
getLineDecoration in interface SimpleShape<XSLFShape,XSLFTextParagraph>public FillStyle getFillStyle()
getFillStyle in interface SimpleShape<XSLFShape,XSLFTextParagraph>public StrokeStyle getStrokeStyle()
getStrokeStyle in interface SimpleShape<XSLFShape,XSLFTextParagraph>public void setStrokeStyle(java.lang.Object... styles)
setStrokeStyle in interface SimpleShape<XSLFShape,XSLFTextParagraph>public XSLFHyperlink getHyperlink()
getHyperlink in interface SimpleShape<XSLFShape,XSLFTextParagraph>public XSLFHyperlink createHyperlink()
createHyperlink in interface SimpleShape<XSLFShape,XSLFTextParagraph>