|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.poi.xssf.usermodel.XSSFShape
public abstract class XSSFShape
Represents a shape in a SpreadsheetML drawing.
Field Summary | |
---|---|
static int |
EMU_PER_PIXEL
|
static int |
EMU_PER_POINT
|
static int |
PIXEL_DPI
|
static int |
POINT_DPI
|
Constructor Summary | |
---|---|
XSSFShape()
|
Method Summary | |
---|---|
XSSFAnchor |
getAnchor()
|
XSSFDrawing |
getDrawing()
Return the drawing that owns this shape |
XSSFShapeGroup |
getParent()
Gets the parent shape. |
boolean |
isNoFill()
Whether this shape is not filled with a color |
void |
setFillColor(int red,
int green,
int blue)
Sets the color used to fill this shape using the solid fill pattern. |
void |
setLineStyle(int lineStyle)
Sets the line style. |
void |
setLineStyleColor(int red,
int green,
int blue)
The color applied to the lines of this shape. |
void |
setLineWidth(double lineWidth)
Specifies the width to be used for the underline stroke. |
void |
setNoFill(boolean noFill)
Sets whether this shape is filled or transparent. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int EMU_PER_PIXEL
public static final int EMU_PER_POINT
public static final int POINT_DPI
public static final int PIXEL_DPI
Constructor Detail |
---|
public XSSFShape()
Method Detail |
---|
public XSSFDrawing getDrawing()
public XSSFShapeGroup getParent()
public XSSFAnchor getAnchor()
public boolean isNoFill()
public void setNoFill(boolean noFill)
noFill
- if true then no fill will be applied to the shape element.public void setFillColor(int red, int green, int blue)
public void setLineStyleColor(int red, int green, int blue)
public void setLineWidth(double lineWidth)
lineWidth
- width in pointspublic void setLineStyle(int lineStyle)
lineStyle
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |