StreamGeometryContext::PolyQuadraticBezierTo Method (IList<Point>^, Boolean, Boolean)
Draws one or more connected quadratic Bezier curves.
Assembly: PresentationCore (in PresentationCore.dll)
public: virtual void PolyQuadraticBezierTo( IList<Point>^ points, bool isStroked, bool isSmoothJoin ) abstract
Parameters
- points
-
Type:
System.Collections.Generic::IList<Point>^
The collection of points that specify control points and destination points for one or more quadratic Bezier curves. The first point in the list specifies the curve's control point, the next point specifies the destination point, the next point specifies the control point of the next curve, and so on. The list must contain an even number of points.
- isStroked
-
Type:
System::Boolean
true to make the segment stroked when a Pen is used to render the segment; otherwise, false.
- isSmoothJoin
-
Type:
System::Boolean
true to treat the join between this segment and the previous segment as a corner when stroked with a Pen; otherwise, false.
| Exception | Condition |
|---|---|
| InvalidOperationException | An attempt was made to add a segment without starting a figure by calling the BeginFigure method. |
This method uses the end point of the previous segment as its starting point. If this is the first segment in a figure, it uses the point specified by the BeginFigure method as its start point.
A StreamGeometry cannot be serialized if it contains a Transform or any non-stroked or unfilled segments.
Available since 3.0