Method GetAsPen
GetAsPen(double)
Gets this color as Pen with the specified width.
public Pen GetAsPen(double width = 1)
Parameters
width
doubleWidth of the pen.
Returns
GetAsPen(double, DashStyle)
public Pen GetAsPen(double width, DashStyle dashStyle)
Parameters
width
doubleWidth of the pen. Optional. Default is 1.
dashStyle
DashStyleDash style of the pen. Optional. Default is Solid.