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)
- C#
- VB
- F#
public class ImmutableDashStyle : IDashStyle,
IEquatable<IDashStyle>
Public Class ImmutableDashStyle
Implements IDashStyle, IEquatable(Of IDashStyle)
type ImmutableDashStyle =
class
interface IDashStyle
interface IEquatable<IDashStyle>
end
Inheritance | Object → ImmutableDashStyle |
Implements | IDashStyle, IEquatable(IDashStyle) |
Constructors
ImmutableDashStyle(IEnumerable(Double), Double) | Initializes a new instance of the ImmutableDashStyle class. |
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 Object.Equals(Object)) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Overrides Object.GetHashCode()) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ToString() | Returns 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) |