[]
        
Represents an object used to draw lines and curves.
public class Pen
  Public Class Pen
  | Name | Description | 
|---|---|
| Pen(Pen) | Creates a copy of a Pen object.  | 
      
| Pen(Color) | Initializes a new instance of a Pen.  | 
      
| Pen(Color, float) | Initializes a new instance of a Pen.  | 
      
| Name | Description | 
|---|---|
| Color | Gets or sets the pen color.  | 
      
| DashOffset | Gets or sets the distance within the dash pattern where a dash begins. The default value is 0.  | 
      
| DashPattern | Gets or sets the custom dash pattern of lines drawn with this pen. Setting this to a non-null value resets the DashStyle.  | 
      
| DashStyle | Gets or sets the style of dashed lines drawn with this pen. Setting this to anything other than custom resets the DashPattern.  | 
      
| LineCap | Gets or sets the line cap style specifies the shape to be used at the ends of open subpaths (and dashes, if any) when they are stroked.  | 
      
| LineJoin | Gets or sets the line join style specifies the shape to be used at the corners of paths that are stroked.  | 
      
| MiterLimit | Gets or sets a maximum on the ratio of the miter length to the pen width. When the limit is exceeded, the join is converted from a miter to a bevel.  | 
      
| Visible | Gets a value indicating whether the pen is really visible, i.e. its width greater than 0 and color is not transparent.  | 
      
| Width | Gets or sets the pen width, in units of the Graphics object used for drawing.  | 
      
| Name | Description | 
|---|---|
| implicit operator Pen(Color) |