API reference
Preparing search index…

ImGui.ImDrawList_PathRect

  • Append a rectangle, optionally with rounded corners, to the current path.

    Parameters

    self

    ImDrawList handle on which this method operates.

    rect_min

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

    rect_max

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

    rounding
    number = 0.0

    Corner radius in screen pixels; 0 creates square corners. Draw flags select which corners are rounded.

    flags
    number = 0

    ImDrawFlags options controlling this operation; combine compatible flag bits with |.

    Returns

    void
    Source & inheritance

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