TextHighlighterStyle (gb.highlight)

This class represents the style used for drawing a specific highlighter state.

该类是可创建。

该类可以作为静态函数使用。

静态方法
FromString   Create a style from a string description.

属性
Background   Return if that style is for drawing a background and not drawing text.
Bold   Return or set if the text drawn with that style must be bold.
Color   Return or set the RGB color used for drawing some text using that style.
Dotted   Return or set if the text drawn with that style must have a dotted underline.
InvertedColor   Return the inverted color of the Color property.
Key   Return or set the name of the state the style is associated with.
Name   Return the display name of the style.
Strikeout   Return or set if the text drawn with that style must be stroke out.
Underline   Return or set if the text drawn with that style must have a solid underline.

方法
Copy   Return a copy of the current style.
ToString   Convert the style contents to a string.

事件
Change   This event is raised when the style contents has changed.