public final class Polygon extends HSLFAutoShape
TextShape.TextAutofit, TextShape.TextDirection, TextShape.TextPlaceholderWrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom_hyperlink, ADJUST_VALUES, DEFAULT_LINE_WIDTH| Modifier | Constructor and Description |
|---|---|
|
Polygon()
Create a new Polygon.
|
protected |
Polygon(EscherContainerRecord escherRecord,
ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a Polygon object and initialize it from the supplied Record container.
|
|
Polygon(ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
Create a new Polygon.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setPoints(float[] xPoints,
float[] yPoints)
Set the polygon vertices
|
void |
setPoints(java.awt.geom.Point2D[] points)
Set the polygon vertices
|
createSpContainer, getAdjustmentValue, getGeometry, setAdjustmentValue, setDefaultTextPropertiesafterInsert, appendText, getBottomInset, getEscherTextboxWrapper, getHFPlaceholderAtom, getHyperlinks, getInsets, getLeftInset, getMetroShape, getPlaceholderAtom, getRawText, getRightInset, getRunType, getText, getTextDirection, getTextHeight, getTextHeight, getTextId, getTextParagraphs, getTextPlaceholder, getTextRotation, getTopInset, getVerticalAlignment, getWordWrap, getWordWrapEx, isAlignToBaseline, isHorizontalCentered, isPlaceholder, iterator, resizeToFitText, resizeToFitText, setAlignToBaseline, setBottomInset, setHorizontalCentered, setInsets, setLeftInset, setRightInset, setRunType, setSheet, setText, setTextDirection, setTextId, setTextPlaceholder, setTextRotation, setTopInset, setVerticalAlignment, setWordWrap, setWordWrapEx, spliterator, storeTextcreateHyperlink, createSpContainer, getAdjustValue, getFillColor, getHyperlink, getLineBackgroundColor, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getPlaceholder, getPlaceholderDetails, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, setFillColor, setHyperlink, setLineBackgroundColor, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setPlaceholder, setStrokeStyledraw, getAnchor, getClientData, getClientDataRecord, getClientRecords, getEscherChild, getEscherChild, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getParent, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setEscherProperty, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitappendText, getInsets, getText, getTextDirection, getTextHeight, getTextHeight, getTextParagraphs, getTextPlaceholder, getTextRotation, getVerticalAlignment, getWordWrap, isHorizontalCentered, resizeToFitText, resizeToFitText, setHorizontalCentered, setInsets, setText, setTextDirection, setTextPlaceholder, setTextRotation, setVerticalAlignment, setWordWrapcreateHyperlink, getFillColor, getFillStyle, getHyperlink, getLineDecoration, getPlaceholder, getPlaceholderDetails, getShadow, getShapeType, getStrokeStyle, isPlaceholder, setFillColor, setPlaceholder, setShapeType, setStrokeStyledraw, getAnchor, getParent, getShapeId, getShapeName, getSheetgetAdjustValuegetAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotationprotected Polygon(EscherContainerRecord escherRecord, ShapeContainer<HSLFShape,HSLFTextParagraph> parent)
escherRecord - EscherSpContainer container which holds information about this shapeparent - the parent of the shapepublic Polygon(ShapeContainer<HSLFShape,HSLFTextParagraph> 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()
Copyright 2022 The Apache Software Foundation or its licensors, as applicable.