Skip to main content

PathSegments Class

Definition

Namespace:Avalonia.Media
Assembly:Avalonia.Base
Package:Avalonia

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

public class PathSegments

Inheritance: AvaloniaList<PathSegment> -> PathSegments

Constructors

NameDescription
PathSegments (3 overloads)Initializes a new instance of the Avalonia.Media.PathSegments class.

PathSegments overloads

PathSegments Constructor

Initializes a new instance of the Avalonia.Media.PathSegments class.

public PathSegments()

PathSegments Constructor

public PathSegments(System.Collections.Generic.IEnumerable<Avalonia.Media.PathSegment> collection)
Parameters

collection System.Collections.Generic.IEnumerable<Avalonia.Media.PathSegment>

PathSegments Constructor

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 Avalonia.Media.PathSegment objects that the collection is initially capable of storing.