API reference
Preparing search index…

ImGui.ImDrawList_AddTriangleFilled

  • Append a triangle filled with color to the draw list.

    Parameters

    self

    ImDrawList handle on which this method operates.

    p1

    Ordered vertex or start point p1 in absolute screen coordinates.

    p2

    Ordered vertex or start point p2 in absolute screen coordinates.

    p3

    Ordered vertex or start point p3 in absolute screen coordinates.

    col
    number

    Packed ImU32 RGBA color; alpha controls opacity.

    Returns

    void
    Source & inheritance

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