ImmutablePen.

ImmutablePen(uint, 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(uint color, double thickness = 1, ImmutableDashStyle 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 ImmutableDashStyle 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

Type Description
void