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 attributes
(样式 - 线条属性)
CustomGeometry 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 placeholder
(placeholder - 占位符或 null 删除对占位符的引用)
PlaceholderDetails getPlaceholderDetails()
boolean isPlaceholder()
true
if the shape is a placeholder
(如果形状是占位符,则为真)
java.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 implementation
(color - 纯色填充。 null 的值从底层实现中取消设置实心填充属性)
Hyperlink<S,P> getHyperlink()
null
if not found.
(分配给此形状的超链接,如果未找到,则为 null。)
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.