FilledShapeAttribute
ptolemy.vergil.kernel.attributes.FilledShapeAttribute

This is an abstract attribute that is rendered as a filled shape. Concrete subclasses produce particular shapes, such as rectangles and circles. Derived classes need to react to changes in the width and height parameters in the attributeChanged() method by calling setShape() on the protected member _icon.



Author(s): Edward A. Lee
Version:$Id: FilledShapeAttribute.java,v 1.19 2005/07/08 19:59:51 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (cxh)




centered
Indicator of whether the shape should be centered on the location. This is a boolean that defaults to false, which means that the location is the upper left corner.

fillColor
The line color. This is a string representing an array with four elements, red, green, blue, and alpha, where alpha is transparency. The default is "{0.0, 0.0, 0.0, 1.0}", which represents an opaque black.

height
The vertical extent. This is a double that defaults to 100.0.

width
The horizontal extent. This is a double that defaults to 100.0.