PenType Enumeration

 

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

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

type PenType

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.

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

.NET Framework
Available since 1.1
Return to top
Show: