[]
Initializes a new instance of the Pen class with the specified brush and width.
public Pen(Brush brush, double width = 1)
Public Sub New(brush As Brush, Optional width As Double = 1)
Type | Name | Description |
---|---|---|
Brush | brush | |
double | width | The width of the new Pen. |
Initializes a new instance of the Pen class with the specified color and width.
public Pen(SchemeColor color, double width)
Public Sub New(color As SchemeColor, width As Double)
Type | Name | Description |
---|---|---|
SchemeColor | color | A SchemeColor that determines the characteristics of this Pen. |
double | width | The width of the new Pen. |