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:
public sealed class PathSegmentCollection : List<PathSegment>, IList<PathSegment>, ICollection<PathSegment>, IList, ICollection, IReadOnlyList<PathSegment>, IReadOnlyCollection<PathSegment>, IEnumerable<PathSegment>, IEnumerable
Inheritance: objectList<PathSegment>PathSegmentCollection
Implements:
Inherited Members
Methods
Adds a cubic Bézier segment defined by numeric coordinates and returns it.
public BezierSegment AddBezierSegment(float x1, float y1, float x2, float y2, float x3, float y3)
The x-coordinate of the starting point of the curve.
y1floatThe y-coordinate of the starting point of the curve.
x2floatThe x-coordinate of the first control point for the curve.
y2floatThe y-coordinate of the first control point for the curve.
x3floatThe x-coordinate of the endpoint of the curve.
y3floatThe y-coordinate of the endpoint of the curve.
Returns:Adds a cubic Bézier segment with the specified control points and end point and returns it.
public BezierSegment AddBezierSegment(Point point1, Point point2, Point point3)
The first point.
point2PointThe second point.
point3PointThe third point.
Returns:Adds a line segment ending at the specified point and returns it.
public LineSegment AddLineSegment(Point point)
The point.
Returns:Adds a quadratic Bézier curve with the specified control and end points and returns it.
public QuadraticBezierSegment AddQuadraticBezierSegment(Point point1, Point point2)
The first point.
point2PointThe second point.
Returns: