public abstract class XSSFShape extends java.lang.Object implements Shape
| Modifier and Type | Field and Description |
|---|---|
protected XSSFAnchor |
anchor
anchor that is used by this shape
|
protected XSSFDrawing |
drawing
Parent drawing
|
protected XSSFShapeGroup |
parent
The parent shape, always not-null for shapes in groups
|
| Constructor and Description |
|---|
XSSFShape() |
| Modifier and Type | Method and Description |
|---|---|
XSSFAnchor |
getAnchor() |
XSSFDrawing |
getDrawing()
Return the drawing that owns this shape
|
XSSFShapeGroup |
getParent() |
protected abstract org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getShapeProperties()
Returns xml bean with shape properties.
|
boolean |
isNoFill() |
void |
setFillColor(int red,
int green,
int blue) |
void |
setLineStyle(int lineStyle)
Sets the line style.
|
void |
setLineStyleColor(int red,
int green,
int blue) |
void |
setLineWidth(double lineWidth)
Specifies the width to be used for the underline stroke.
|
void |
setNoFill(boolean noFill) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetShapeNameprotected XSSFDrawing drawing
protected XSSFShapeGroup parent
protected XSSFAnchor anchor
public XSSFDrawing getDrawing()
public XSSFShapeGroup getParent()
public XSSFAnchor getAnchor()
protected abstract org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
public void setFillColor(int red,
int green,
int blue)
setFillColor in interface Shapepublic void setLineStyleColor(int red,
int green,
int blue)
setLineStyleColor in interface Shapepublic void setLineWidth(double lineWidth)
lineWidth - width in pointspublic void setLineStyle(int lineStyle)
lineStyle -