public class HSSFPolygon extends HSSFSimpleShape
| Modifier and Type | Field and Description |
|---|---|
static short |
OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING |
OBJECT_TYPE_ARC, OBJECT_TYPE_COMBO_BOX, OBJECT_TYPE_COMMENT, OBJECT_TYPE_LINE, OBJECT_TYPE_OVAL, OBJECT_TYPE_PICTURE, OBJECT_TYPE_RECTANGLE, WRAP_BY_POINTS, WRAP_NONE, WRAP_SQUAREFILL__FILLCOLOR_DEFAULT, LINESTYLE__COLOR_DEFAULT, LINESTYLE_DASHDOTDOTSYS, LINESTYLE_DASHDOTGEL, LINESTYLE_DASHDOTSYS, LINESTYLE_DASHGEL, LINESTYLE_DASHSYS, LINESTYLE_DEFAULT, LINESTYLE_DOTGEL, LINESTYLE_DOTSYS, LINESTYLE_LONGDASHDOTDOTGEL, LINESTYLE_LONGDASHDOTGEL, LINESTYLE_LONGDASHGEL, LINESTYLE_NONE, LINESTYLE_SOLID, LINEWIDTH_DEFAULT, LINEWIDTH_ONE_PT, NO_FILL_DEFAULT, NO_FILLHITTEST_FALSE, NO_FILLHITTEST_TRUE| Constructor and Description |
|---|
HSSFPolygon(EscherContainerRecord spContainer,
ObjRecord objRecord) |
HSSFPolygon(EscherContainerRecord spContainer,
ObjRecord objRecord,
TextObjectRecord _textObjectRecord) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDrawAreaHeight() |
int |
getDrawAreaWidth() |
int[] |
getXPoints() |
int[] |
getYPoints() |
void |
setPoints(int[] xPoints,
int[] yPoints) |
void |
setPolygonDrawArea(int width,
int height)
Defines the width and height of the points in the polygon
|
getShapeId, getShapeType, getString, getWrapText, setShapeType, setString, setWrapTextcountOfAllChildren, getAnchor, getFillColor, getLineStyle, getLineStyleColor, getLineWidth, getOptRecord, getParent, getPatriarch, getRotationDegree, getShapeName, isFlipHorizontal, isFlipVertical, isNoFill, setAnchor, setFillColor, setFillColor, setFlipHorizontal, setFlipVertical, setLineStyle, setLineStyleColor, setLineStyleColor, setLineWidth, setNoFill, setRotationDegreeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnchor, getParent, getShapeName, isNoFill, setFillColor, setLineStyleColor, setNoFillpublic static final short OBJECT_TYPE_MICROSOFT_OFFICE_DRAWING
public HSSFPolygon(EscherContainerRecord spContainer, ObjRecord objRecord, TextObjectRecord _textObjectRecord)
public HSSFPolygon(EscherContainerRecord spContainer, ObjRecord objRecord)
public int[] getXPoints()
public int[] getYPoints()
public void setPoints(int[] xPoints,
int[] yPoints)
xPoints - - array of x coordinatesyPoints - - array of y coordinatespublic void setPolygonDrawArea(int width,
int height)
width - height - public int getDrawAreaWidth()
public int getDrawAreaHeight()
Copyright © 2010 - 2020 Adobe. All Rights Reserved