selfImDrawList handle on which this method operates.
pointsFloat32Array of consecutive [x,y] points in screen coordinates; provide at least 2 * num_points elements. Filled polygons require clockwise order. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.
num_pointsNumber of coordinate pairs to read from points.
colPacked ImU32 RGBA color; alpha controls opacity.
flagsImDrawFlags options controlling this operation; combine compatible flag bits with |.
thicknessStroke thickness in screen pixels.
Add a polyline to the draw list.