|
||||||||||
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
org.apache.poi.xslf.usermodel.XSLFTextShape
org.apache.poi.xslf.usermodel.XSLFAutoShape
org.apache.poi.xslf.usermodel.XSLFFreeformShape
@Beta public class XSLFFreeformShape
Represents a custom geometric shape. This shape will consist of a series of lines and curves described within a creation path.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.TextShape |
---|
TextShape.TextAutofit, TextShape.TextDirection, TextShape.TextPlaceholder |
Field Summary |
---|
Fields inherited from class org.apache.poi.xslf.usermodel.XSLFShape |
---|
PML_NS |
Method Summary | |
---|---|
java.awt.geom.Path2D.Double |
getPath()
Gets the shape path. |
int |
setPath(java.awt.geom.Path2D.Double path)
Set the shape path |
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFAutoShape |
---|
getTextBody, initTextBody, toString |
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFShape |
---|
draw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getShapeId, getShapeName, getShapeProperties, getSheet, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.poi.sl.usermodel.TextShape |
---|
appendText, getInsets, getText, getTextDirection, getTextHeight, getTextHeight, getTextParagraphs, getTextPlaceholder, getTextRotation, getVerticalAlignment, getWordWrap, isHorizontalCentered, resizeToFitText, resizeToFitText, setHorizontalCentered, setInsets, setText, setTextDirection, setTextPlaceholder, setTextRotation, setVerticalAlignment, setWordWrap |
Methods inherited from interface org.apache.poi.sl.usermodel.SimpleShape |
---|
createHyperlink, getFillColor, getFillStyle, getGeometry, getHyperlink, getLineDecoration, getPlaceholder, getShadow, getShapeType, getStrokeStyle, setFillColor, setPlaceholder, setShapeType, setStrokeStyle |
Methods inherited from interface org.apache.poi.sl.usermodel.Shape |
---|
draw, getAnchor, getParent, getSheet |
Methods inherited from interface org.apache.poi.sl.draw.geom.IAdjustableShape |
---|
getAdjustValue |
Methods inherited from interface org.apache.poi.sl.usermodel.PlaceableShape |
---|
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation |
Methods inherited from interface java.lang.Iterable |
---|
iterator |
Method Detail |
---|
public int setPath(java.awt.geom.Path2D.Double path)
FreeformShape
setPath
in interface FreeformShape<XSLFShape,XSLFTextParagraph>
path
- shape outline
public java.awt.geom.Path2D.Double getPath()
FreeformShape
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)
getPath
in interface FreeformShape<XSLFShape,XSLFTextParagraph>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |