PenType

System.Drawing.Drawing2D.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

Name
Description

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.

Used By

Name
Description

Gets the style of lines drawn with this Pen.

Last updated

Was this helpful?