public class BackgroundColorRichStyle extends RichStyle
RichText
instance.RichText.setRichStyle(RichStyle, int, int, RangedRichStyle.Flag)RichStyle.Capability, RichStyle.TypeId| 构造器 | 说明 |
|---|---|
BackgroundColorRichStyle(Color color) |
Creates a
BackgroundColorRichStyle object using a specified color. |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
Color |
getBackgroundColor() |
Obtains the background color in this
BackgroundColorRichStyle instance. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCapability, getRichStyleTypeIdpublic BackgroundColorRichStyle(Color color)
BackgroundColorRichStyle object using a specified color.color - Indicates the background color.IllegalArgumentException - Throws this exception if the specified color is empty.public Color getBackgroundColor()
BackgroundColorRichStyle instance.