Constructing and Drawing Paths
A path is a sequence of graphics primitives (lines, rectangles, curves, text, and the like) that can be manipulated and drawn as a single unit. A path can be divided into figures that are either open or closed. A figure can contain several primitives.
You can draw a path by calling the DrawPath method of the Graphics class, and you can fill a path by calling the FillPath method of the Graphics class.
In This Section
- How to: Create Figures from Lines, Curves, and Shapes
Shows how to use a GraphicsPath to create figures.
- How to: Fill Open Figures
Explains how to fill a GraphicsPath.
- How to: Flatten a Curved Path into a Line
Shows how to flatten a GraphicsPath.
Reference
- GraphicsPath
Describes this class and contains links to all of its members.