Skip to main content

IDashStyle Interface

Definition​

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

Represents the sequence of dashes and gaps that will be applied by a Avalonia.Media.Pen.

public interface IDashStyle

Properties​

NameDescription
DashesGets or sets the length of alternating dashes and gaps.
OffsetGets or sets how far in the dash sequence the stroke will start.

Dashes Property​

Gets or sets the length of alternating dashes and gaps.

public System.Collections.Generic.IReadOnlyList<double> Dashes { get; set; }

Offset Property​

Gets or sets how far in the dash sequence the stroke will start.

public double Offset { get; set; }