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 Edward A. Lee @version $Id: ResizablePolygonAttribute.java,v 1.21.4.1 2008/03/25 22:32:46 cxh Exp $ @since Ptolemy II 4.0 @Pt.ProposedRating Yellow (eal) @Pt.AcceptedRating Red (cxh)
|
|