PathPointType Enumeration

Specifies the type of point in a GraphicsPath object.

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

public enum class PathPointType
public enum PathPointType
public enum PathPointType

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

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.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions