New to Telerik UI for WinFormsStart 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, ICollection, IEnumerable

Inheritance: objectList<PathSegment>PathSegmentCollection

Implements: ICollectionIEnumerableIList

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