ImmutableDashStyle Class
Definition
Represents the sequence of dashes and gaps that will be applied by an Avalonia.Media.Immutable.ImmutablePen.
public class ImmutableDashStyle
Constructors
| Name | Description |
|---|---|
| ImmutableDashStyle | No summary available. |
ImmutableDashStyle Constructor
public ImmutableDashStyle(System.Collections.Generic.IEnumerable<double> dashes, double offset)
Parameters
dashes System.Collections.Generic.IEnumerable<double>
offset double
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Media.IDashStyle other)
Parameters
other Avalonia.Media.IDashStyle
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
Properties
| Name | Description |
|---|---|
| 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. |
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; }