
ImageAttribute |
ptolemy.vergil.kernel.attributes.ImageAttribute |
This is an attribute that is rendered as an image. Its source
parameter specifies a file containing an image (GIF, JPEG, etc.), and
its scale attribute specifies a scaling factor, as a percentage.
Author(s): Edward A. Lee and Steve Neuendorffer
Version:$Id: ImageAttribute.java,v 1.26 2005/10/24 19:09:12 cxh Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (cxh)
scale
The scale, as a percentage.
This is a double that defaults to 100.0.
source
The source image file. This is a file name or URL, where the default
is "$CLASSPATH/ptolemy/vergil/kernel/attributes/ptIIplanetIcon.gif".