public final class SizeAttribute extends Attribute
Constructor and Description |
---|
SizeAttribute(double size)
Create a SizeAttribute.
|
setIndices
public SizeAttribute(double size)
This is equivalent to using FontDescription's
setSize()
when requesting fonts
and TextTag's setSize()
when formatting text in a TextBuffer.
The SizeAttribute is, indeed, ultimately what powers both these properties.