org.apache.poi.xslf.usermodel
Class XSLFBackground
- java.lang.Object
-
- org.apache.poi.xslf.usermodel.XSLFShape
-
- org.apache.poi.xslf.usermodel.XSLFSimpleShape
-
- org.apache.poi.xslf.usermodel.XSLFBackground
-
public class XSLFBackground extends XSLFSimpleShape
Background shape
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voiddraw(java.awt.Graphics2D graphics)Draw this shape into the supplied canvasjava.awt.geom.Rectangle2DgetAnchor()java.awt.ColorgetFillColor()-
Methods inherited from class org.apache.poi.xslf.usermodel.XSLFSimpleShape
drawContent, getFlipHorizontal, getFlipVertical, getLineCap, getLineColor, getLineDash, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getShadow, getShapeId, getShapeName, getShapeType, getSheet, getXmlObject, setAnchor, setFillColor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType
-
-
-
-
Method Detail
-
getAnchor
public java.awt.geom.Rectangle2D getAnchor()
- Overrides:
getAnchorin classXSLFSimpleShape- Returns:
- the position of this shape within the drawing canvas. The coordinates are expressed in points
-
draw
public void draw(java.awt.Graphics2D graphics)
Description copied from class:XSLFShapeDraw this shape into the supplied canvas- Overrides:
drawin classXSLFSimpleShape- Parameters:
graphics- the graphics to draw into
-
getFillColor
public java.awt.Color getFillColor()
- Overrides:
getFillColorin classXSLFSimpleShape- Returns:
- solid fill color of null if not set or fill color is not solid (pattern or gradient)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG