Pen Constructor(Color,Single)
In This Topic
Initializes a new instance of a
Pen.
Syntax
'Declaration
Public Function New( _
ByVal As System.Drawing.Color, _
ByVal As System.Single _
)
public Pen(
System.Drawing.Color ,
System.float
)
Parameters
- color
- Color of the lines drawn with this pen.
- width
- Width of the lines drawn with this pen, in units of the Graphics object used for drawing.
See Also