Summary
Initializes a new instance of the
Pen
class.
Syntax
public ImmutablePen(IBrush brush, double thickness = 1, ImmutableDashStyle dashStyle = null, PenLineCap lineCap = Flat, PenLineJoin lineJoin = Miter, double miterLimit = 10)
Parameters
Name |
Type |
Description |
brush |
IBrush |
The brush used to draw. |
thickness |
double |
The stroke thickness. |
dashStyle |
ImmutableDashStyle |
The dash style. |
lineCap |
PenLineCap |
The line cap. |
lineJoin |
PenLineJoin |
The line join. |
miterLimit |
double |
The miter limit. |
Return Value