Bitmap.PenStyle := psDash;
// Gives me a nice dash line, but is a lot slower than below
Bitmap.DrawPolyLineAntialias([Point(0,50), Point(Bitmap.Width,50)], BGRA(0,255,0), 1,3,True,65535);
// Is fast, but only gives me a solid line
Bitmap.DrawPolyLine([Point(0,55), Point(Bitmap.Width,55)], BGRA(255,255,0), False, dmSet);
Bitmap.DrawLine(0,60, Bitmap.Width,60, BGRA(0,255,0), False, dmSet);