Pen.

Pen(IBrush, double, IDashStyle, PenLineCap, PenLineJoin, double) Constructor

Summary

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

Syntax

public Pen(IBrush brush, double thickness = 1, IDashStyle 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 IDashStyle The dash style.
lineCap PenLineCap The line cap.
lineJoin PenLineJoin The line join.
miterLimit double The miter limit.

Return Value

Type Description
void