[]
Represents an object used to draw lines and curves.
public class Pen
Name | Description |
---|---|
Pen(Color) | Initializes a new instance of a Pen. |
Pen(Color, double) | 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. |
DashStyle | Gets or sets the style of dashed lines drawn with this pen. |
LineJoin | Gets or sets the style used to join lines drawn with this pen. |
StartCap | Gets or sets the cap style used to draw line ends with this pen. |
Width | Gets or sets the pen width. |
Name | Description |
---|---|
implicit operator Pen(Color) |