Open and Closed Curves

Drawing open and closed curves is similar to drawing a series of connected lines. But, instead of having sharp corners where the lines connect, the corners are automatically rounded to give a curving effect. The result is a curve.

Open curves are drawn using the DrawCurve method on the Graphics object. Closed curves are drawn using the DrawClosedCurve method on the Graphics object. Both of these methods take an array of points. The points represent the vertices of the lines that should be drawn (or the points where the line starts to curve in another direction). The only real difference between these two methods is whether ...

Get Visual Basic® .NET by Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.