Docsv3.31.0
Back to API Reference
Struct

CompositionClause

sealed

A single clause (segment) within an IME composition string, with its boundaries and style.

public static void EnsureCapacity(ref CompositionClause[] buffer, int count)

Ensures that buffer can hold at least count clauses.

public static int FillFallback(ref CompositionClause[] buffer, int textLength)

Writes one unconverted clause spanning the composition and returns one.

public int startOffset

Start char offset within the composition string (inclusive).

public int endOffset

End char offset within the composition string (exclusive).

Visual style for this clause, derived from the platform's attribute data.