This documentation is archived and is not being maintained.

PathPointType Enumeration

Specifies the type of point in a GraphicsPath object.

Namespace:  System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum PathPointType

Member nameDescription
StartThe starting point of a GraphicsPath object.
LineA line segment.
BezierA default Bézier curve.
PathTypeMaskA mask point.
DashModeThe corresponding segment is dashed.
PathMarkerA path marker.
CloseSubpathThe endpoint of a subpath.
Bezier3A cubic Bézier curve.

Each point in a GraphicsPath object has a type associated with it. The type determines how the point is used to draw the path. Point types that make up shapes include start points, stop points, and Bézier curve points. Types also include markers, which allow easy traversal of a path or a mask to show or hide points. The Line type and any of the Bezier types can be combined with CloseSubpath (by using the bitwise operator OR) to indicate that the corresponding point is the last point in a figure and that the figure should be closed.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: