API reference
Preparing search index…

ImGui.ImDrawList_AddText

  • Append text to the draw list using the current font and font size.

    Parameters

    self

    ImDrawList handle on which this method operates.

    pos

    Position in absolute screen coordinates, in pixels.

    col
    number

    Packed ImU32 RGBA color; alpha controls opacity.

    text_begin
    string | Uint8Array

    UTF-8 text to read. JS strings are encoded for this call; a nonempty Uint8Array ending in NUL is passed directly, otherwise its bytes are copied and NUL-terminated.

    Returns

    void

    Implied text_end = null

    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0