Pen Constructor(Brush,Double)
In This Topic
Initializes a new instance of the
Pen class with the specified brush and width.
Syntax
'Declaration
Public Function New( _
ByVal As Brush, _
Optional ByVal As Double _
)
'Usage
Dim brush As Brush
Dim width As Double
Dim instance As New Pen(brush, width)
public Pen(
Brush ,
double
)
Parameters
- brush
- A Brush that determines the characteristics of this Pen.
- width
- The width of the new Pen.
See Also