public interface SimpleShape<S extends Shape<S,P>,P extends TextParagraph<S,P,? extends TextRun>> extends Shape<S,P>, IAdjustableShape, PlaceableShape<S,P>
Modifier and Type | Method and Description |
---|---|
Hyperlink<S,P> |
createHyperlink()
Creates a hyperlink and asigns it to this shape.
|
java.awt.Color |
getFillColor()
Returns the solid color fill.
|
FillStyle |
getFillStyle() |
CustomGeometry |
getGeometry() |
Hyperlink<S,P> |
getHyperlink()
Returns the hyperlink assigned to this shape
|
LineDecoration |
getLineDecoration() |
Placeholder |
getPlaceholder() |
PlaceholderDetails |
getPlaceholderDetails() |
Shadow<S,P> |
getShadow() |
ShapeType |
getShapeType() |
StrokeStyle |
getStrokeStyle() |
boolean |
isPlaceholder()
Checks if the shape is a placeholder.
|
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.
|
void |
setShapeType(ShapeType type) |
void |
setStrokeStyle(java.lang.Object... styles)
Sets the line attributes.
|
draw, getAnchor, getParent, getShapeId, getShapeName, getSheet
getAdjustValue
getAnchor, getFlipHorizontal, getFlipVertical, getParent, getRotation, getSheet, setAnchor, setFlipHorizontal, setFlipVertical, setRotation
FillStyle getFillStyle()
LineDecoration getLineDecoration()
StrokeStyle getStrokeStyle()
void setStrokeStyle(java.lang.Object... styles)
styles
- the line attributesCustomGeometry getGeometry()
ShapeType getShapeType()
void setShapeType(ShapeType type)
Placeholder getPlaceholder()
setPlaceholder(Placeholder)
void setPlaceholder(Placeholder placeholder)
placeholder
- the placeholder or null to remove the reference to the placeholderPlaceholderDetails getPlaceholderDetails()
boolean isPlaceholder()
true
if the shape is a placeholderjava.awt.Color getFillColor()
void setFillColor(java.awt.Color color)
color
- the solid color fill. The value of null
unsets
the solid fill attribute from the underlying implementationHyperlink<S,P> getHyperlink()
null
if not found.Copyright 2021 The Apache Software Foundation or its licensors, as applicable.