org.apache.poi.hssf.usermodel
Class HSSFPolygon
java.lang.Object
org.apache.poi.hssf.usermodel.HSSFShape
org.apache.poi.hssf.usermodel.HSSFPolygon
public class HSSFPolygon
- extends HSSFShape
- Author:
- Glen Stampoultzis (glens at superlinksoftware.com)
Fields inherited from class org.apache.poi.hssf.usermodel.HSSFShape |
LINESTYLE_DASHDOTDOTSYS, LINESTYLE_DASHDOTGEL, LINESTYLE_DASHDOTSYS, LINESTYLE_DASHGEL, LINESTYLE_DASHSYS, LINESTYLE_DOTGEL, LINESTYLE_DOTSYS, LINESTYLE_LONGDASHDOTDOTGEL, LINESTYLE_LONGDASHDOTGEL, LINESTYLE_LONGDASHGEL, LINESTYLE_NONE, LINESTYLE_SOLID, LINEWIDTH_DEFAULT, LINEWIDTH_ONE_PT |
Methods inherited from class org.apache.poi.hssf.usermodel.HSSFShape |
countOfAllChildren, getAnchor, getFillColor, getLineStyle, getLineStyleColor, getLineWidth, getParent, isNoFill, setAnchor, setFillColor, setFillColor, setLineStyle, setLineStyleColor, setLineStyleColor, setLineWidth, setNoFill |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getXPoints
public int[] getXPoints()
getYPoints
public int[] getYPoints()
setPoints
public void setPoints(int[] xPoints,
int[] yPoints)
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()
getDrawAreaHeight
public int getDrawAreaHeight()