Parameters
- pen
- The pen that determines the color, width, and style of the lines.
- points
- Array of System.Drawing.PointF structures, which represent the points to connect.
- startCap
- A line cap that should be used for drawing of start cap of line.
- endCap
- A line cap that should be used for drawing of end cap of line.