@Beta public class XSLFFreeformShape extends XSLFAutoShape implements FreeformShape<XSLFShape,XSLFTextParagraph>
TextShape.TextAutofit, TextShape.TextDirection| Modifier and Type | Method and Description |
|---|---|
java.awt.geom.GeneralPath |
getPath()
Gets the shape path.
|
int |
setPath(java.awt.geom.GeneralPath path)
Set the shape path
|
getTextBody, toStringaddNewTextParagraph, clearText, getBottomInset, getInsets, getLeftInset, getRightInset, getText, getTextAutofit, getTextBodyPr, getTextDirection, getTextHeight, getTextParagraphs, getTextType, getTopInset, getVerticalAlignment, getWordWrap, isHorizontalCentered, iterator, resizeToFitText, setBottomInset, setHorizontalCentered, setLeftInset, setPlaceholder, setRightInset, setText, setTextAutofit, setTextDirection, setTopInset, setVerticalAlignment, setWordWrapgetAdjustValue, getAnchor, getFillColor, getFillStyle, getFlipHorizontal, getFlipVertical, getGeometry, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLinePaint, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getSafeXfrm, getShadow, getShapeType, getStrokeStyle, getXfrm, isPlaceholder, setAnchor, setFillColor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeTypefetchShapeProperty, getBgPr, getBgRef, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getPaint, getParent, getShapeId, getShapeName, getSheet, getSpPr, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetInsets, getTextDirection, getTextHeight, getTextParagraphs, getVerticalAlignment, getWordWrap, isHorizontalCenteredgetFillStyle, getGeometry, getLineDecoration, getShadow, getShapeType, getStrokeStyle, isPlaceholdergetAdjustValuegetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, setAnchor, setFlipHorizontal, setFlipVertical, setRotationpublic int setPath(java.awt.geom.GeneralPath path)
FreeformShapesetPath in interface FreeformShape<XSLFShape,XSLFTextParagraph>path - shape outlinepublic java.awt.geom.GeneralPath getPath()
FreeformShapeThe path is translated in the shape's coordinate system, i.e. freeform.getPath().getBounds2D() equals to freeform.getAnchor() (small discrepancies are possible due to rounding errors)
getPath in interface FreeformShape<XSLFShape,XSLFTextParagraph>Copyright 2016 The Apache Software Foundation or its licensors, as applicable.