ResizablePolygonAttribute
ptolemy.vergil.kernel.attributes.ResizablePolygonAttribute

This is an attribute that is rendered as a polygon. The vertices parameter is an array of doubles that specify the vertices of the polygon in the form {x1, y1, x2, y2, ... }. The width and height parameters, somewhat awkwardly, are used to specify the overall width and height. The polygon will be scaled to fit the specified width and height.



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




vertices
The amount of vertices of the corners. This is a double that defaults to 0.0, which indicates no vertices. The default value specifies a rhombus.