ImmutablePen.

ImmutablePen(IBrush, double, ImmutableDashStyle, PenLineCap, PenLineJoin, double) Constructor

Summary

Initializes a new instance of the Pen class.
Namespace
Avalonia.Media.Immutable
Containing Type
ImmutablePen

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

Type Description
void