API reference
Preparing search index…

ImGui.ImDrawList_AddRectFilled

  • Append a filled axis-aligned rectangle to the draw list.

    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
    number

    Packed ImU32 RGBA color; alpha controls opacity.

    Returns

    void

    a: upper-left, b: lower-right (== upper-left + size)

    Implied rounding = 0.0, flags = 0

    Source & inheritance

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