
AbstractTextAttribute |
ptolemy.vergil.kernel.attributes.AbstractTextAttribute |
An abstract base class for text annotations.
Author(s): Edward A. Lee, Steve Neuendorffer
Version:$Id: AbstractTextAttribute.java,v 1.16 2005/08/07 13:12:09 eal Exp $
Pt.Proposed Rating:Yellow (eal)
Pt.Accepted Rating:Red (cxh)
bold
A boolean indicating whether the font should be bold.
This defaults to false.
fontFamily
The font family. This is a string that defaults to "SansSerif".
italic
A boolean indicating whether the font should be italic.
This defaults to false.
textColor
The text 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.
textSize
The text size. This is an int that defaults to 14.