Class XSLFFreeformShape

    • Method Detail

      • getPath

        public java.awt.geom.Path2D.Double getPath()
        Description copied from interface: FreeformShape
        Gets the shape path.

        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)

        Specified by:
        getPath in interface FreeformShape<XSLFShape,​XSLFTextParagraph>
        Returns:
        the path