ImmutablePen Class

Summary

Describes how a stroke is drawn.
Namespace
Avalonia.Media.Immutable
Interfaces
Base Types
  • object
graph BT Type-->Base0["object"] Type-.->Interface0["IPen"] click Interface0 "/api/Avalonia.Media/IPen" Type-.->Interface1["IEquatable<IPen>"] Type["ImmutablePen"] class Type type-node

Syntax

public class ImmutablePen : IPen, IEquatable<IPen>

Constructors

Properties

Name Value Summary
Brush IBrush
Gets the brush used to draw the stroke.
DashStyle IDashStyle
Specifies the style of dashed lines drawn with a Pen object.
LineCap PenLineCap
Specifies the type of graphic shape to use on both ends of a line.
LineJoin PenLineJoin
Specifies how to join consecutive line or curve segments in a PathFigure (subpaths) contained in a PathGeometry object.
MiterLimit double
The limit on the ratio of the miter length to half this pen's Thickness.
Thickness double
Gets the stroke thickness.

Methods

Name Value Summary
Equals(IPen) bool
Equals(object) bool
GetHashCode() int

Extension Methods

Name Value Summary
ToImmutable() ImmutablePen
Converts a pen to an immutable pen.