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.
|
protected org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties |
getBgPr(boolean create) |
protected org.apache.xmlbeans.XmlObject |
getShapeProperties()
Return the shape specific (visual) properties
|
protected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D |
getXfrm(boolean create)
background does not have a associated transform, therefore we return null
|
void |
setFillColor(java.awt.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, getLinePaint, getLineTailDecoration, getLineTailLength, getLineTailWidth, getLineWidth, getRotation, getShadow, getShapeType, getStrokeStyle, isPlaceholder, setAnchor, setFlipHorizontal, setFlipVertical, setLineCap, setLineColor, setLineCompound, setLineDash, setLineHeadDecoration, setLineHeadLength, setLineHeadWidth, setLineTailDecoration, setLineTailLength, setLineTailWidth, setLineWidth, setRotation, setShapeType, setStrokeStyledraw, fetchShapeProperty, getBgPr, getBgRef, getChild, getCNvPr, getCTPlaceholder, getFillPaint, getGrpSpPr, getParent, getPlaceholder, getShapeId, getShapeName, getSheet, getSpStyle, getXmlObject, selectPaint, selectPaint, selectPaint, selectPaint, selectPaint, selectProperty, setParentclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFillStylegetPlaceholdergetParent, getSheetpublic java.awt.geom.Rectangle2D getAnchor()
ShapegetAnchor in interface PlaceableShape<XSLFShape,XSLFTextParagraph>getAnchor in interface Shape<XSLFShape,XSLFTextParagraph>getAnchor in class XSLFSimpleShapeprotected org.openxmlformats.schemas.drawingml.x2006.main.CTTransform2D getXfrm(boolean create)
getXfrm in class XSLFSimpleShapecreate - ignoredpublic void setPlaceholder(Placeholder placeholder)
XSLFShapesetPlaceholder in interface SimpleShape<XSLFShape,XSLFTextParagraph>setPlaceholder in class XSLFSimpleShapeplaceholder - The shape to use as placeholder or null if no placeholder should be set.protected org.openxmlformats.schemas.presentationml.x2006.main.CTBackgroundProperties getBgPr(boolean create)
public void setFillColor(java.awt.Color color)
SimpleShapesetFillColor in interface SimpleShape<XSLFShape,XSLFTextParagraph>setFillColor in class XSLFSimpleShapecolor - the solid color fill. The value of null unsets
the solid fill attribute from the underlying implementationprotected org.apache.xmlbeans.XmlObject getShapeProperties()
XSLFShapegetShapeProperties in class XSLFShapeCopyright 2018 The Apache Software Foundation or its licensors, as applicable.