Upravit

Sdílet prostřednictvím


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 Graphics::DrawPath method of the Graphics class, and you can fill a path by calling the Graphics::FillPath method of the Graphics class.

The following topics cover paths in more detail: