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