Constructor Pen
Pen(Color, double, DashStyle)
Initializes a new instance of the Pen class with the specified Color, Width and DashStyle properties.
public Pen(Color color, double width, DashStyle dashStyle)
Parameters
color
Colorwidth
doubleA value indicating the width of this Pen, in device-independent units.
dashStyle
DashStyleA style used for dashed lines drawn with this Pen.
Pen(Color, double, DashStyle, LineCap, LineJoin)
Initializes a new instance of the Pen class with the specified Color, Width and DashStyle properties.
public Pen(Color color, double width, DashStyle dashStyle, LineCap lineCap, LineJoin lineJoin)
Parameters
color
Colorwidth
doubleA value indicating the width of this Pen, in device-independent units.
dashStyle
DashStyleA style used for dashed lines drawn with this Pen.
lineCap
LineCapSpecifies the available cap styles with which a Pen object can end a line.
lineJoin
LineJoinSpecifies how to join consecutive line or curve segments.
Pen(Color, double)
public Pen(Color color, double width)
Parameters
Pen(Color)
public Pen(Color color)
Parameters
Pen(Brush)
public Pen(Brush brush)