IDashStyle Interface

Summary

Represents the sequence of dashes and gaps that will be applied by a Pen.
Namespace
Avalonia.Media
Implementing Types
graph BT Type["IDashStyle"] class Type type-node Implementing0["ImmutableDashStyle"]-.->Type click Implementing0 "/api/Avalonia.Media.Immutable/ImmutableDashStyle" Implementing1["DashStyle"]-.->Type click Implementing1 "/api/Avalonia.Media/DashStyle"

Syntax

public interface IDashStyle

Properties

Name Value Summary
Dashes IReadOnlyList<double>
Gets or sets the length of alternating dashes and gaps.
Offset double
Gets or sets how far in the dash sequence the stroke will start.

Extension Methods

Name Value Summary
ToImmutable() ImmutableDashStyle
Converts a dash style to an immutable dash style.