docs
Loading...
Searching...
No Matches
ULCompositionSegment

#include <Ultralight/CAPI/CAPI_Editor.h>

Overview

Underline style for part of a composition's text (see ulEditorSetComposition()).

An input method usually reports one segment per clause, with the clause being converted marked thick.

Note
Zero-initialize this struct. A zero-initialized ULColor is unset.

Public Attributes

ULCompositionRange range
 The range of composition text this segment styles.
ULColor underline_color
 The underline color (unset draws the underline in the text's own color).
ULColor background_color
 A fill drawn behind the text (unset draws no fill).
bool thick
 Whether the underline is drawn thick (the convention for the active clause).

Member Data Documentation

◆ background_color

ULColor background_color

A fill drawn behind the text (unset draws no fill).

◆ range

The range of composition text this segment styles.

◆ thick

bool thick

Whether the underline is drawn thick (the convention for the active clause).

◆ underline_color

ULColor underline_color

The underline color (unset draws the underline in the text's own color).


The documentation for this struct was generated from the following file: