Setting the Line End Styles for Canvas.LineTo
问题 Is there any way to set the style for the lineends for the TCanvas.LineTo method? It seems to default to rounded ends, which looks very bad for several lines in a row of different colours when Pen.Width is set to a large value (e.g. 9). It looks like this (rounded ends): ********........****** **********........****** **********........****** ********........****** (where * is e.g. blue and . is yellow) It is even worse if the two outer lines are drawn after the middle line: ********........*