ImmutableDashStyle Class

Represents the sequence of dashes and gaps that will be applied by an ImmutablePen.

Definition

Namespace: Avalonia.Media.Immutable
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public class ImmutableDashStyle : IDashStyle, 
	IEquatable<IDashStyle>
Inheritance
Object    ImmutableDashStyle
Implements
IDashStyle, IEquatableIDashStyle

Properties

Dashes Gets or sets the length of alternating dashes and gaps.
Offset Gets or sets how far in the dash sequence the stroke will start.

Methods

Equals(IDashStyle)Indicates whether the current object is equal to another object of the same type.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides ObjectEquals(Object))
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Overrides ObjectGetHashCode)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

Extension Methods

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

See Also