The Pen type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
|
|
Pen(Color) |
Initializes a new instance of a Pen.
|
|
|
Pen(Color, Double) |
Initializes a new instance of a Pen.
|
Methods
| Name | Description | |
|---|---|---|
|
|
Equals | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetType | (Inherited from Object.) |
|
|
ToString | (Inherited from Object.) |
Operators
| Name | Description | |
|---|---|---|
|
|
Implicit Widening Implicit Implicit Implicit (Color to Pen) |
Properties
| 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.
|