Skip to main content

IDashStyle Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

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

Definition​

Namespace: Avalonia.Media
Assembly: Avalonia.Base (in Avalonia.Base.dll)

[NotClientImplementableAttribute]
public interface IDashStyle
View Source

Properties​

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

Extension Methods​

ToImmutable()Converts a dash style to an immutable dash style.
(Defined by BrushExtensions)

See Also​

Reference​

Avalonia.Media Namespace