What is a Path?

GDI+ Graphics objects enable you to draw lines, ellipses, rectangles, polygons and curves on the rendering device, screen or printer, immediately. A Path, represented by the GraphicsPath class in .NET enables you to create a collection of these shapes and use them over and over without having to redefine them every time. You can "record" a complex shape in a GraphicsPath and then "replay" it in different positions or sizes.

Return to the article.