public class XSLFBackground extends XSLFSimpleShape implements Background<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
java.awt.geom.Rectangle2D |
getAnchor()
Returns the anchor (the bounding box rectangle) of this shape.
|
java.awt.Color |
getFillColor()
Returns the solid color fill.
|
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D |
getXfrm()
background does not have a associated transform.
|
void |
setPlaceholder(Placeholder placeholder)
Specifies that the corresponding shape should be represented by the generating application
as a placeholder.
|
createHyperlink, getAdjustValue, getFillStyle, getFlipHorizontal, getFlipVertical, getGeometry, getHyperlink, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLinePaint, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getSafeXfrm, getShadow, getShapeType, getStrokeStyle, isPlaceholder, setAnchor, setFillColor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType, setStrokeStyle
draw, fetchShapeProperty, getBgPr, getBgRef, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getPaint, getParent, getPlaceholder, getShapeId, getShapeName, getSheet, getSpPr, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFillStyle
getPlaceholder
getParent, getSheet
public java.awt.geom.Rectangle2D getAnchor()
Shape
getAnchor
in interface PlaceableShape<XSLFShape,XSLFTextParagraph>
getAnchor
in interface Shape<XSLFShape,XSLFTextParagraph>
getAnchor
in class XSLFSimpleShape
public java.awt.Color getFillColor()
SimpleShape
getFillColor
in interface SimpleShape<XSLFShape,XSLFTextParagraph>
getFillColor
in class XSLFSimpleShape
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D getXfrm()
getXfrm
in class XSLFSimpleShape
public void setPlaceholder(Placeholder placeholder)
XSLFShape
setPlaceholder
in interface SimpleShape<XSLFShape,XSLFTextParagraph>
setPlaceholder
in class XSLFSimpleShape
placeholder
- the placeholder or null to remove the reference to the placeholderCopyright 2017 The Apache Software Foundation or its licensors, as applicable.