System.Drawing.Drawing2D.PenType Enumeration

Specifies the type of fill a System.Drawing.Pen object uses to fill lines.

Syntax

public enum PenType

Remarks

The pen type is determined by the System.Drawing.Brush property of the System.Drawing.Pen object.

Members

Member NameDescription
HatchFill

Specifies a hatch fill.

LinearGradient

Specifies a linear gradient fill.

PathGradient

Specifies a path gradient fill.

SolidColor

Specifies a solid fill.

TextureFill

Specifies a bitmap texture fill.

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