[]
Initializes a new instance of the Pen class.
public SolidPen()
Initializes a new instance of the Pen class.
public SolidPen(Color color)
| Type | Name | Description |
|---|---|---|
| Color | color | A Color indicates the color of the pen. |
Initializes a new instance of the Pen class.
public SolidPen(Color color, int width)
| Type | Name | Description |
|---|---|---|
| Color | color | A Color indicates the color of the pen. |
| int | width | An int indicates the width of the pen. |
Initializes a new instance of the SolidPen class.
public SolidPen(Color color, int width, DashCap cap, LineJoin join)
| Type | Name | Description |
|---|---|---|
| Color | color | A Color indicates the color of the pen. |
| int | width | An int indicates the width of the pen. |
| DashCap | cap | A DashCap indicates the cap style of the pen. |
| LineJoin | join | A LineJoin indicates the join style of the pen. |