System.Drawing.Drawing2D.PathPointType Enumeration

Specifies the type of point in a System.Drawing.Drawing2D.GraphicsPath object.

Syntax

public enum PathPointType

Remarks

Each point in a System.Drawing.Drawing2D.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 PathPointType.Line type and any of the Bezier types can be combined with PathPointType.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.

Members

Member NameDescription
Bezier

A default Bézier curve.

Bezier3

A cubic Bézier curve.

CloseSubpath

The endpoint of a subpath.

DashMode

The corresponding segment is dashed.

Line

A line segment.

PathMarker

A path marker.

PathTypeMask

A mask point.

Start

The starting point of a System.Drawing.Drawing2D.GraphicsPath object.

Requirements

Namespace: System.Drawing.Drawing2D
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0