Table of Contents

Interface IPen

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

Describes how a stroke is drawn.

[NotClientImplementable]
public interface IPen
Extension Methods

Properties

Brush

Gets the brush used to draw the stroke.

IBrush? Brush { get; }

Property Value

IBrush

DashStyle

Gets the style of dashed lines drawn with a Pen object.

IDashStyle? DashStyle { get; }

Property Value

IDashStyle

LineCap

Gets the type of shape to use on both ends of a line.

PenLineCap LineCap { get; }

Property Value

PenLineCap

LineJoin

Gets a value describing how to join consecutive line or curve segments in a PathFigure contained in a PathGeometry object.

PenLineJoin LineJoin { get; }

Property Value

PenLineJoin

MiterLimit

Gets the limit of the thickness of the join on a mitered corner.

double MiterLimit { get; }

Property Value

double

Thickness

Gets the stroke thickness.

double Thickness { get; }

Property Value

double