public interface FreeformShape<S extends Shape<S,P>,P extends TextParagraph<S,P,?>> extends AutoShape<S,P>
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
|
getInsets, getTextDirection, getTextHeight, getTextParagraphs, getVerticalAlignment, getWordWrap, isHorizontalCenteredgetFillStyle, getGeometry, getLineDecoration, getShadow, getShapeType, getStrokeStyle, isPlaceholdergetAdjustValuegetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, setAnchor, setFlipHorizontal, setFlipVertical, setRotationjava.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)
int setPath(java.awt.geom.GeneralPath path)
path - shape outlineCopyright 2016 The Apache Software Foundation or its licensors, as applicable.