public class FontRichStyle extends RichStyle
RichText instance.RichText.setRichStyle(RichStyle, int, int, RangedRichStyle.Flag)RichStyle.Capability, RichStyle.TypeId| 构造器 | 说明 |
|---|---|
FontRichStyle(Font font) |
A constructor used to create a
FontRichStyle using a specified font. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Font |
getFont() |
Obtains the font object based on which this
FontRichStyle is created. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapability, getRichStyleTypeIdpublic FontRichStyle(Font font)
FontRichStyle using a specified font.font - Indicates the font object.IllegalArgumentException - Throws this exception if the specified font is null.Fontpublic Font getFont()
FontRichStyle is created.