ClassPathSegmentCollection
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, ICollection, IEnumerable
Inheritance: objectList<PathSegment>PathSegmentCollection
Implements:
Methods
AddArcSegment(Point, double, double)
Adds an arc segment that ends at the specified point with the given radii and returns it.
Declaration
public ArcSegment AddArcSegment(Point point, double radiusX, double radiusY)
Parameters
point
The point.
radiusX
The radius X.
radiusY
The radius Y.
Returns
AddBezierSegment(Point, Point, Point)
Adds a cubic Bézier segment with the specified control points and end point and returns it.
Declaration
public BezierSegment AddBezierSegment(Point point1, Point point2, Point point3)
Parameters
point1
The first point.
point2
The second point.
point3
The third point.
Returns
AddBezierSegment(float, float, float, float, float, float)
Adds a cubic Bézier segment defined by numeric coordinates and returns it.
Declaration
public BezierSegment AddBezierSegment(float x1, float y1, float x2, float y2, float x3, float y3)
Parameters
x1
The x-coordinate of the starting point of the curve.
y1
The y-coordinate of the starting point of the curve.
x2
The x-coordinate of the first control point for the curve.
y2
The y-coordinate of the first control point for the curve.
x3
The x-coordinate of the endpoint of the curve.
y3
The y-coordinate of the endpoint of the curve.
Returns
AddLineSegment(Point)
Adds a line segment ending at the specified point and returns it.
Declaration
public LineSegment AddLineSegment(Point point)
Parameters
point
The point.
Returns
AddQuadraticBezierSegment(Point, Point)
Adds a quadratic Bézier curve with the specified control and end points and returns it.
Declaration
public QuadraticBezierSegment AddQuadraticBezierSegment(Point point1, Point point2)
Parameters
point1
The first point.
point2
The second point.
Returns