PathPointType PathPointType PathPointType PathPointType Enum


Specifies the type of point in a GraphicsPath object.

public enum class PathPointType
public enum PathPointType
type PathPointType = 
Public Enum PathPointType


Bezier Bezier Bezier Bezier 3

A default Bézier curve.

Bezier3 Bezier3 Bezier3 Bezier3 3

A cubic Bézier curve.

CloseSubpath CloseSubpath CloseSubpath CloseSubpath 128

The endpoint of a subpath.

DashMode DashMode DashMode DashMode 16

The corresponding segment is dashed.

Line Line Line Line 1

A line segment.

PathMarker PathMarker PathMarker PathMarker 32

A path marker.

PathTypeMask PathTypeMask PathTypeMask PathTypeMask 7

A mask point.

Start Start Start Start 0

The 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.

Applies to