public class SubscriptRichStyle extends RichStyle
RichText instance.RichText.setRichStyle(RichStyle, int, int, RangedRichStyle.Flag)RichStyle.Capability, RichStyle.TypeId| 构造器 | 说明 |
|---|---|
SubscriptRichStyle() |
A constructor used to create a
SubscriptRichStyle instance. |
public SubscriptRichStyle()
SubscriptRichStyle instance.
This method displays the text defined by RichText as subscripts.
The method reduces the text size to 2/3 of the original size and aligns the descent of the text with that of
the line where the text is located. The line height, however, is not affected.
You can use RichText.removeRichStyle(RichStyle) to cancel this style.
RichText.removeRichStyle(RichStyle)