Documentation of 'org.apache.poi.xslf.usermodel.XSLFFreeformShape' Java class
XSLFFreeformShape
org.apache.poi.xslf.usermodel

Class XSLFFreeformShape

  • All Implemented Interfaces:
    java.lang.Iterable<XSLFTextParagraph>


    @Beta
    public class XSLFFreeformShape
    extends XSLFAutoShape
    Represents a custom geometric shape. This shape will consist of a series of lines and curves described within a creation path.
    • Method Detail

      • setPath

        public int setPath(java.awt.geom.GeneralPath path)
        Set the shape path
        Parameters:
        path - shape outline
        Returns:
        the number of points written
      • getPath

        public java.awt.geom.GeneralPath getPath()
        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)

        Returns:
        the path

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.