API reference
Preparing search index…

ImGui.ImDrawList_AddTriangle

  • Append the outline of a triangle 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

    Implied thickness = 1.0

    Source & inheritance

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