New to Telerik Document ProcessingStart a free 30-day trial

Collection of path segments for composing vector paths on document pages; use to build shapes before stroking or filling.

Definition

Namespace:Telerik.Windows.Documents.Fixed.Model.Collections

Assembly:Telerik.Windows.Documents.Core.dll

Syntax:

C#
public sealed class PathSegmentCollection : List<PathSegment>, IList<PathSegment>, ICollection<PathSegment>, IList, ICollection, IReadOnlyList<PathSegment>, IReadOnlyCollection<PathSegment>, IEnumerable<PathSegment>, IEnumerable

Inheritance: objectList<PathSegment>PathSegmentCollection

Implements: ICollectionICollection<PathSegment>IEnumerableIEnumerable<PathSegment>IListIList<PathSegment>IReadOnlyCollection<PathSegment>IReadOnlyList<PathSegment>...

Inherited Members List<PathSegment>.Add(PathSegment)List<PathSegment>.AddRange(IEnumerable<PathSegment>)List<PathSegment>.AsReadOnly()List<PathSegment>.BinarySearch(int, int, PathSegment, IComparer<PathSegment>)List<PathSegment>.BinarySearch(PathSegment)List<PathSegment>.BinarySearch(PathSegment, IComparer<PathSegment>)List<PathSegment>.Clear()List<PathSegment>.Contains(PathSegment)List<PathSegment>.ConvertAll<TOutput>(Converter<PathSegment, TOutput>)List<PathSegment>.CopyTo(PathSegment[])List<PathSegment>.CopyTo(int, PathSegment[], int, int)List<PathSegment>.CopyTo(PathSegment[], int)List<PathSegment>.EnsureCapacity(int)List<PathSegment>.Exists(Predicate<PathSegment>)List<PathSegment>.Find(Predicate<PathSegment>)List<PathSegment>.FindAll(Predicate<PathSegment>)List<PathSegment>.FindIndex(Predicate<PathSegment>)List<PathSegment>.FindIndex(int, Predicate<PathSegment>)List<PathSegment>.FindIndex(int, int, Predicate<PathSegment>)List<PathSegment>.FindLast(Predicate<PathSegment>)List<PathSegment>.FindLastIndex(Predicate<PathSegment>)List<PathSegment>.FindLastIndex(int, Predicate<PathSegment>)List<PathSegment>.FindLastIndex(int, int, Predicate<PathSegment>)List<PathSegment>.ForEach(Action<PathSegment>)List<PathSegment>.GetEnumerator()List<PathSegment>.GetRange(int, int)List<PathSegment>.Slice(int, int)List<PathSegment>.IndexOf(PathSegment)List<PathSegment>.IndexOf(PathSegment, int)List<PathSegment>.IndexOf(PathSegment, int, int)List<PathSegment>.Insert(int, PathSegment)List<PathSegment>.InsertRange(int, IEnumerable<PathSegment>)List<PathSegment>.LastIndexOf(PathSegment)List<PathSegment>.LastIndexOf(PathSegment, int)List<PathSegment>.LastIndexOf(PathSegment, int, int)List<PathSegment>.Remove(PathSegment)List<PathSegment>.RemoveAll(Predicate<PathSegment>)List<PathSegment>.RemoveAt(int)List<PathSegment>.RemoveRange(int, int)List<PathSegment>.Reverse()List<PathSegment>.Reverse(int, int)List<PathSegment>.Sort()List<PathSegment>.Sort(IComparer<PathSegment>)List<PathSegment>.Sort(int, int, IComparer<PathSegment>)List<PathSegment>.Sort(Comparison<PathSegment>)List<PathSegment>.ToArray()List<PathSegment>.TrimExcess()List<PathSegment>.TrueForAll(Predicate<PathSegment>)List<PathSegment>.CapacityList<PathSegment>.CountList<PathSegment>.this[int]...

Methods

Adds an arc segment that ends at the specified point with the given radii and returns it.

C#
public ArcSegment AddArcSegment(Point point, double radiusX, double radiusY)
Parameters:pointPoint

The point.

radiusXdouble

The radius X.

radiusYdouble

The radius Y.

Returns:

ArcSegment

Adds a cubic Bézier segment defined by numeric coordinates and returns it.

C#
public BezierSegment AddBezierSegment(float x1, float y1, float x2, float y2, float x3, float y3)
Parameters:x1float

The x-coordinate of the starting point of the curve.

y1float

The y-coordinate of the starting point of the curve.

x2float

The x-coordinate of the first control point for the curve.

y2float

The y-coordinate of the first control point for the curve.

x3float

The x-coordinate of the endpoint of the curve.

y3float

The y-coordinate of the endpoint of the curve.

Returns:

BezierSegment

Adds a cubic Bézier segment with the specified control points and end point and returns it.

C#
public BezierSegment AddBezierSegment(Point point1, Point point2, Point point3)
Parameters:point1Point

The first point.

point2Point

The second point.

point3Point

The third point.

Returns:

BezierSegment

Adds a line segment ending at the specified point and returns it.

C#
public LineSegment AddLineSegment(Point point)
Parameters:pointPoint

The point.

Returns:

LineSegment

Adds a quadratic Bézier curve with the specified control and end points and returns it.

C#
public QuadraticBezierSegment AddQuadraticBezierSegment(Point point1, Point point2)
Parameters:point1Point

The first point.

point2Point

The second point.

Returns:

QuadraticBezierSegment