java.lang.Iterable<XSLFTextParagraph>
@Beta public class XSLFFreeformShape extends XSLFAutoShape
Modifier and Type | Method | Description |
---|---|---|
java.awt.geom.GeneralPath |
getPath() |
Gets the shape path.
|
int |
setPath(java.awt.geom.GeneralPath path) |
Set the shape path
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getTextBody, toString
applyTransform
draw, getAnchor, getCTPlaceholder, getFillColor, getFlipHorizontal, getFlipVertical, getLineCap, getLineColor, getLineDash, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getNvPr, getRotation, getShadow, getShapeId, getShapeName, getShapeType, getSheet, getSpPr, getSpStyle, getXmlObject, setAnchor, setFillColor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType
addNewTextParagraph, clearText, drawContent, getBottomInset, getLeftInset, getRightInset, getText, getTextAutofit, getTextBodyPr, getTextDirection, getTextHeight, getTextParagraphs, getTextType, getTopInset, getVerticalAlignment, getWordWrap, iterator, resizeToFitText, setBottomInset, setLeftInset, setPlaceholder, setRightInset, setText, setTextAutofit, setTextDirection, setTopInset, setVerticalAlignment, setWordWrap
public int setPath(java.awt.geom.GeneralPath path)
path
- shape outlinepublic java.awt.geom.GeneralPath getPath()
The 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)
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.