public interface Attributable
ShapeAttributes
bundle for specifying the normal attributes and the highlight attributes.Modifier and Type | Method and Description |
---|---|
ShapeAttributes |
getAttributes()
Indicates the shape's normal (non-highlight) attributes.
|
ShapeAttributes |
getHighlightAttributes()
Indicates the shape's highlight attributes.
|
void |
setAttributes(ShapeAttributes attributes)
Specifies the shape's normal (non-highlight) attributes.
|
void |
setHighlightAttributes(ShapeAttributes highlightAttributes)
Specifies the shape's highlight attributes.
|
ShapeAttributes getAttributes()
void setAttributes(ShapeAttributes attributes)
It is permissible to share attribute bundles between shapes.
attributes
- a reference to the shape's new normal attributesShapeAttributes getHighlightAttributes()
void setHighlightAttributes(ShapeAttributes highlightAttributes)
It is permissible to share attribute bundles between shapes.
highlightAttributes
- a reference to the shape's new highlight attributes