API reference
Preparing search index…

ImGui.ImDrawList_PrimRect

  • Write an axis-aligned rectangle as two triangles.

    Parameters

    self

    ImDrawList handle on which this method operates.

    a

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

    b

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

    col
    number

    Packed ImU32 RGBA color; alpha controls opacity.

    Returns

    void

    Axis aligned rectangle (composed of two triangles)

    Source & inheritance

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