[]
Initializes a new instance of a Pen.
public Pen(Color color)
Public Sub New(color As Color)
Type | Name | Description |
---|---|---|
Color | color | Color of the lines drawn with this pen. |
Initializes a new instance of a Pen.
public Pen(Color color, float width)
Public Sub New(color As Color, width As Single)
Type | Name | Description |
---|---|---|
Color | color | Color of the lines drawn with this pen. |
float | width | Width of the lines drawn with this pen, in units of the Graphics object used for drawing. |
Creates a copy of a Pen object.
public Pen(Pen source)
Public Sub New(source As Pen)
Type | Name | Description |
---|---|---|
Pen | source |