API reference
Preparing search index…

ImGui.ImDrawList_AddImageRounded

  • Append a textured rectangle with rounded corners to the draw list.

    Parameters

    self

    ImDrawList handle on which this method operates.

    user_texture_id
    bigint

    Renderer texture identifier (ImTextureID bigint), not an SFML texture object.

    p_min

    Address of the lower/upper bound in data_type layout; drag widgets permit null for an unbounded side.

    p_max

    Address of the lower/upper bound in data_type layout; drag widgets permit null for an unbounded side.

    uv_min

    Texture coordinates at the upper-left corner; (0,0) is the usual full-image start.

    uv_max

    Texture coordinates at the lower-right corner; (1,1) is the usual full-image end.

    col
    number

    Packed ImU32 RGBA color; alpha controls opacity.

    rounding
    number

    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