public final class Polygon extends HSLFAutoShape
TextShape.TextAutofit, TextShape.TextDirection
_frc, _paragraphs, _txtbox, WrapByPoints, WrapNone, WrapSquare, WrapThrough, WrapTopBottom
_clientData, _clientRecords, 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, setAdjustmentValue, setDefaultTextProperties
afterInsert, appendText, getBottomInset, getEscherTextboxWrapper, getHyperlinks, getInsets, getLeftInset, getPlaceholderAtom, getRawText, getRightInset, getRunType, getText, getTextDirection, getTextHeight, getTextId, getTextParagraphs, getTopInset, getVerticalAlignment, getWordWrap, getWordWrapEx, isAlignToBaseline, isHorizontalCentered, isPlaceholder, iterator, resizeToFitText, setAlignToBaseline, setBottomInset, setHorizontalCentered, setHyperlink, setLeftInset, setRightInset, setRunType, setSheet, setText, setTextId, setTopInset, setVerticalAlignment, setWordWrap, storeText
createSpContainer, getAdjustValue, getClientDataRecord, getClientRecords, getFillColor, getGeometry, getLineColor, getLineCompound, getLineDashing, getLineDecoration, getLineWidth, getShadow, getShadowAngle, getShadowColor, getShadowDistance, getStrokeStyle, setFillColor, setHyperlink, setLineColor, setLineCompound, setLineDashing, setLineWidth, updateClientData
draw, getAnchor, getEscherChild, getEscherChild, getEscherOptRecord, getEscherProperty, getEscherProperty, getEscherProperty, getFill, getFillStyle, getFlipHorizontal, getFlipVertical, getHyperlink, getParent, getRotation, getShapeId, getShapeName, getShapeType, getSheet, getSpContainer, moveTo, setAnchor, setEscherProperty, setEscherProperty, setFlipHorizontal, setFlipVertical, setRotation, setShapeId, setShapeType
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInsets, getTextDirection, getTextHeight, getTextParagraphs, getVerticalAlignment, getWordWrap, isHorizontalCentered
getFillStyle, getGeometry, getLineDecoration, getShadow, getShapeType, getStrokeStyle, isPlaceholder
getAdjustValue
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
protected 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 2016 The Apache Software Foundation or its licensors, as applicable.