Skip to main content

PenType

Namespace: System.Drawing.Drawing2D

Assembly: System.Drawing.Managed (4.0.0.0)

PenType Type Specifies the type of fill a Pen uses to fill lines.

public enum PenType : Enum

Fields

NameDescription
HatchFillSpecifies a hatch fill.
LinearGradientSpecifies a linear gradient fill.
PathGradientSpecifies a path gradient fill.
SolidColorSpecifies a solid fill.
TextureFillSpecifies a bitmap texture fill.

Used By

NameDescription
Pen.PenTypeGets the style of lines drawn with this Pen.