Class HSSFPolygon

    • Field Detail

      • OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING

        public static final short OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING
        See Also:
        Constant Field Values
    • Method Detail

      • getXPoints

        public int[] getXPoints()
        Returns:
        array of x coordinates
      • getYPoints

        public int[] getYPoints()
        Returns:
        array of y coordinates
      • setPoints

        public void setPoints​(int[] xPoints,
                              int[] yPoints)
        Parameters:
        xPoints - - array of x coordinates
        yPoints - - array of y coordinates
      • setPolygonDrawArea

        public void setPolygonDrawArea​(int width,
                                       int height)
        Defines the width and height of the points in the polygon
        Parameters:
        width -
        height -
      • getDrawAreaWidth

        public int getDrawAreaWidth()
        Returns:
        shape width
      • getDrawAreaHeight

        public int getDrawAreaHeight()
        Returns:
        shape height