.NET Windows Forms in a Nutshell
A System.Drawing.Pen can have a System.Drawing.Brush assigned to fill the stroke (as opposed to fill the shape). The type of brush that has been assigned can be determined via the System.Drawing.Pen.PenType property. The value returned is chosen from this enumeration. public enum PenType { SolidColor = 0 , HatchFill = 1 , TextureFill = 2 , PathGradient = 3 , LinearGradient = 4 } Hierarchy
System.Object Returned By
System.Drawing.Pen.PenType |