Summary
Initializes a new instance of the
Pen
class.
Syntax
public Pen(uint color, double thickness = 1, IDashStyle dashStyle = null, PenLineCap lineCap = Flat, PenLineJoin lineJoin = Miter, double miterLimit = 10)
Parameters
Name |
Type |
Description |
color |
uint |
The stroke color. |
thickness |
double |
The stroke thickness. |
dashStyle |
IDashStyle |
The dash style. |
lineCap |
PenLineCap |
Specifies the type of graphic shape to use on both ends of a line. |
lineJoin |
PenLineJoin |
The line join. |
miterLimit |
double |
The miter limit. |
Return Value