Write an axis-aligned rectangle as two triangles.
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
Packed ImU32 RGBA color; alpha controls opacity.
Axis aligned rectangle (composed of two triangles)
Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0
Write an axis-aligned rectangle as two triangles.