|
Ultralight C++ API 2.0.0
|
#include <Ultralight/Editor.h>
Styling for one segment of a composition's text (see Editor::SetComposition()).
An OS input method usually reports one segment per clause of the in-progress text, with the clause the user is actively converting marked thick.
Public Attributes | |
| CompositionRange | range |
| The range of composition text this segment styles. | |
| Color | underline_color |
| The underline color. | |
| Color | background_color |
| A highlight fill drawn behind the segment's text. | |
| bool | thick = false |
| Whether the underline is drawn thick (the convention for the active clause). | |
| Color background_color |
A highlight fill drawn behind the segment's text.
Leave unset for no fill.
| CompositionRange range |
The range of composition text this segment styles.
| bool thick = false |
Whether the underline is drawn thick (the convention for the active clause).
| Color underline_color |
The underline color.
Leave unset to draw the underline in the text's own color.