Constructor and Description |
---|
StyleAttribute(Style style)
Create a StyleAttribute.
|
setIndices
public StyleAttribute(Style style)
ITALIC
is usually the
Style people want since NORMAL
is the default.
This is equivalent to using FontDescription's
setStyle()
when requesting
fonts and TextTag's setStyle()
when formatting text in a TextBuffer.
The StyleAttribute is actually the mechanism that underlies both properties.