API reference
Preparing search index…

ImGui.ImDrawList_AddRectFilledMultiColor

  • Append a filled rectangle with colors interpolated from its four corners.

    Parameters

    self

    ImDrawList handle on which this method operates.

    p_min

    Top-left corner of the rectangle in absolute screen coordinates.

    p_max

    Bottom-right corner of the rectangle in absolute screen coordinates.

    col_upr_left
    number

    Packed ImU32 RGBA color (upr_left); alpha controls opacity.

    col_upr_right
    number

    Packed ImU32 RGBA color (upr_right); alpha controls opacity.

    col_bot_right
    number

    Packed ImU32 RGBA color (bot_right); alpha controls opacity.

    col_bot_left
    number

    Packed ImU32 RGBA color (bot_left); alpha controls opacity.

    Returns

    void
    Source & inheritance

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