public class XSLFBackground extends XSLFSimpleShape implements Background<XSLFShape,XSLFTextParagraph>
Modifier and Type | Method and Description |
---|---|
Rectangle2D |
getAnchor()
Returns the anchor (the bounding box rectangle) of this shape.
|
void |
setFillColor(Color color)
Specifies a solid color fill.
|
void |
setPlaceholder(Placeholder placeholder)
Specifies that the corresponding shape should be represented by the generating application
as a placeholder.
|
createHyperlink, getAdjustValue, getFillColor, getFillStyle, getFlipHorizontal, getFlipVertical, getGeometry, getHyperlink, getLineCap, getLineColor, getLineCompound, getLineDash, getLineDecoration, getLineHeadDecoration, getLineHeadLength, getLineHeadWidth, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getShadow, getShapeType, getStrokeStyle, setAnchor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType, setStrokeStyle
draw, getParent, getPlaceholder, getPlaceholderDetails, getShapeId, getShapeName, getSheet, getXmlObject, isPlaceholder, setParent
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFillStyle
draw, getParent, getShapeId, getShapeName, getSheet
getPlaceholder, getPlaceholderDetails, isPlaceholder
getParent, getSheet
public Rectangle2D getAnchor()
Shape
getAnchor
in interface PlaceableShape<XSLFShape,XSLFTextParagraph>
getAnchor
in interface Shape<XSLFShape,XSLFTextParagraph>
getAnchor
in class XSLFSimpleShape
public void setPlaceholder(Placeholder placeholder)
SimpleShape
setPlaceholder
in interface SimpleShape<XSLFShape,XSLFTextParagraph>
setPlaceholder
in class XSLFShape
placeholder
- the placeholder or null to remove the reference to the placeholderPlaceholderDetails.setPlaceholder(Placeholder)
public void setFillColor(Color color)
SimpleShape
setFillColor
in interface SimpleShape<XSLFShape,XSLFTextParagraph>
setFillColor
in class XSLFSimpleShape
color
- the solid color fill. The value of null
unsets
the solid fill attribute from the underlying implementationCopyright © 2010 - 2020 Adobe. All Rights Reserved