Table of Contents

Class PathSegments

Namespace
Avalonia.Media
Assembly
Avalonia.Base.dll

Represents a collection of PathSegment objects that can be individually accessed by index.

public sealed class PathSegments : AvaloniaList<PathSegment>, IAvaloniaList<PathSegment>, IList<PathSegment>, ICollection<PathSegment>, IAvaloniaReadOnlyList<PathSegment>, IReadOnlyList<PathSegment>, IReadOnlyCollection<PathSegment>, IEnumerable<PathSegment>, INotifyCollectionChanged, INotifyPropertyChanged, IList, ICollection, IEnumerable
Inheritance
PathSegments
Implements
Inherited Members
Extension Methods

Constructors

PathSegments()

Initializes a new instance of the PathSegments class.

public PathSegments()

PathSegments(IEnumerable<PathSegment>)

Initializes a new instance of the PathSegments class with the specified collection of PathSegment objects.

public PathSegments(IEnumerable<PathSegment> collection)

Parameters

collection IEnumerable<PathSegment>

The collection of PathSegment objects that make up the PathSegments.

Exceptions

ArgumentNullException

collection is null.

PathSegments(int)

Initializes a new instance of the PathSegments class with the specified capacity, or the number of PathSegment objects the collection is initially capable of storing.

public PathSegments(int capacity)

Parameters

capacity int

The number of PathSegment objects that the collection is initially capable of storing.