This documentation is archived and is not being maintained.
PenType Enumeration
.NET Framework 1.1
Specifies the type of fill a Pen object uses to fill lines.
[Visual Basic] <Serializable> Public Enum PenType [C#] [Serializable] public enum PenType [C++] [Serializable] __value public enum PenType [JScript] public Serializable enum PenType
Remarks
The pen type is determined by the Brush property of the Pen object.
Members
| Member 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. |
Requirements
Namespace: System.Drawing.Drawing2D
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
Assembly: System.Drawing (in System.Drawing.dll)
See Also
Show: