|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.model.Shape org.apache.poi.hslf.model.SimpleShape org.apache.poi.hslf.model.TextShape org.apache.poi.hslf.model.AutoShape org.apache.poi.hslf.model.Polygon
public class Polygon
A simple closed polygon shape
Field Summary |
---|
Fields inherited from class org.apache.poi.hslf.model.TextShape |
---|
_frc, _txtbox, _txtrun, AlignCenter, AlignJustify, AlignLeft, AlignRight, AnchorBottom, AnchorBottomBaseline, AnchorBottomCentered, AnchorBottomCenteredBaseline, AnchorMiddle, AnchorMiddleCentered, AnchorTop, AnchorTopBaseline, AnchorTopCentered, AnchorTopCenteredBaseline, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom |
Fields inherited from class org.apache.poi.hslf.model.Shape |
---|
_escherContainer, _fill, _parent, _sheet, EMU_PER_CENTIMETER, EMU_PER_INCH, EMU_PER_POINT, logger, MASTER_DPI, PIXEL_DPI, POINT_DPI |
Constructor Summary | |
---|---|
|
Polygon()
Create a new Polygon. |
protected |
Polygon(EscherContainerRecord escherRecord,
Shape parent)
Create a Polygon object and initialize it from the supplied Record container. |
|
Polygon(Shape parent)
Create a new Polygon. |
Method Summary | |
---|---|
void |
setPoints(float[] xPoints,
float[] yPoints)
Set the polygon vertices |
void |
setPoints(java.awt.geom.Point2D[] points)
Set the polygon vertices |
Methods inherited from class org.apache.poi.hslf.model.AutoShape |
---|
createSpContainer, getAdjustmentValue, getOutline, setAdjustmentValue, setDefaultTextProperties |
Methods inherited from class org.apache.poi.hslf.model.TextShape |
---|
afterInsert, createTextRun, draw, getEscherTextboxWrapper, getHorizontalAlignment, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPlaceholderAtom, getText, getTextId, getTextRun, getVerticalAlignment, getWordWrap, initTextRun, resizeToFitText, setHorizontalAlignment, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setSheet, setText, setTextId, setVerticalAlignment, setWordWrap |
Methods inherited from class org.apache.poi.hslf.model.SimpleShape |
---|
createSpContainer, getClientDataRecord, getFillColor, getFlipHorizontal, getFlipVertical, getLineColor, getLineDashing, getLineStyle, getLineWidth, getLogicalAnchor2D, getRotation, setFillColor, setLineColor, setLineDashing, setLineStyle, setLineWidth |
Methods inherited from class org.apache.poi.hslf.model.Shape |
---|
getAnchor, getAnchor2D, getColor, getEscherChild, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getHyperlink, getParent, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setShapeId, setShapeType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Polygon(EscherContainerRecord escherRecord, Shape parent)
escherRecord
- EscherSpContainer
container which holds information about this shapeparent
- the parent of the shapepublic Polygon(Shape parent)
parent
- the parent of this Shape. For example, if this text box is a cell
in a table then the parent is Table.public Polygon()
Method Detail |
---|
public void setPoints(float[] xPoints, float[] yPoints)
xPoints
- yPoints
- public void setPoints(java.awt.geom.Point2D[] points)
points
- the polygon vertices
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |