Files
docs-desktop/dotnet-desktop-guide/framework/winforms/advanced/constructing-and-drawing-paths.md
T
Andy De George c0ba284473 Initial winforms content migrated (#18)
* Merge winforms framework content to working branch (#14)

* Breadcrumb / TOC / Move net5 to net folder (#15)

* change path from net5 to net

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Mess with bread/toc

* Add .net 5 winforms placeholder article (#16)

* added some metadata and adjusted net5 placeholder

* corrections

* corrections

* corrections

* Test1

* Swapping landing page vs concept

* fix links

* Fix links

* Fix desc
2020-09-01 16:26:21 -07:00

1.5 KiB

title, ms.date, helpviewer_keywords, ms.assetid
title ms.date helpviewer_keywords ms.assetid
Constructing and Drawing Paths 03/30/2017
paths [Windows Forms], drawing
drawing paths [Windows Forms]
graphics paths [Windows Forms], creating
graphics paths [Windows Forms], drawing
examples [Windows Forms], drawing paths
f16ec921-56cf-46d1-9741-d7316ad06b23

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

In This Section

How to: Create Figures from Lines, Curves, and Shapes
Shows how to use a xref:System.Drawing.Drawing2D.GraphicsPath to create figures.

How to: Fill Open Figures
Explains how to fill a xref:System.Drawing.Drawing2D.GraphicsPath.

How to: Flatten a Curved Path into a Line
Shows how to flatten a xref:System.Drawing.Drawing2D.GraphicsPath.

Reference

xref:System.Drawing.Drawing2D.GraphicsPath
Describes this class and contains links to all of its members.