BrushExtensions.

ToImmutable(IDashStyle) Method

Summary

Converts a dash style to an immutable dash style.
Namespace
Avalonia.Media
Containing Type
BrushExtensions

Syntax

public static ImmutableDashStyle ToImmutable(this IDashStyle style)

Parameters

Name Type Description
style IDashStyle The dash style.

Return Value

Type Description
ImmutableDashStyle The result of calling ToImmutable() if the style is mutable, otherwise style.