PathF.CurveTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CurveTo(PointF, PointF, PointF) |
Adds a cubic Bézier curve segment defined by two control points and an end point. |
| CurveTo(Single, Single, Single, Single, Single, Single) |
Adds a cubic Bézier curve segment using coordinate values. |
CurveTo(PointF, PointF, PointF)
- Source:
- PathF.cs
- Source:
- PathF.cs
- Source:
- PathF.cs
Adds a cubic Bézier curve segment defined by two control points and an end point.
public:
Microsoft::Maui::Graphics::PathF ^ CurveTo(Microsoft::Maui::Graphics::PointF controlPoint1, Microsoft::Maui::Graphics::PointF controlPoint2, Microsoft::Maui::Graphics::PointF point);
public Microsoft.Maui.Graphics.PathF CurveTo(Microsoft.Maui.Graphics.PointF controlPoint1, Microsoft.Maui.Graphics.PointF controlPoint2, Microsoft.Maui.Graphics.PointF point);
member this.CurveTo : Microsoft.Maui.Graphics.PointF * Microsoft.Maui.Graphics.PointF * Microsoft.Maui.Graphics.PointF -> Microsoft.Maui.Graphics.PathF
Public Function CurveTo (controlPoint1 As PointF, controlPoint2 As PointF, point As PointF) As PathF
Parameters
- controlPoint1
- PointF
First control point.
- controlPoint2
- PointF
Second control point.
- point
- PointF
End point of the curve.
Returns
The current path.
Applies to
CurveTo(Single, Single, Single, Single, Single, Single)
- Source:
- PathF.cs
- Source:
- PathF.cs
- Source:
- PathF.cs
Adds a cubic Bézier curve segment using coordinate values.
public:
Microsoft::Maui::Graphics::PathF ^ CurveTo(float c1X, float c1Y, float c2X, float c2Y, float x, float y);
public Microsoft.Maui.Graphics.PathF CurveTo(float c1X, float c1Y, float c2X, float c2Y, float x, float y);
member this.CurveTo : single * single * single * single * single * single -> Microsoft.Maui.Graphics.PathF
Public Function CurveTo (c1X As Single, c1Y As Single, c2X As Single, c2Y As Single, x As Single, y As Single) As PathF
Parameters
- c1X
- Single
X-coordinate of the first control point.
- c1Y
- Single
Y-coordinate of the first control point.
- c2X
- Single
X-coordinate of the second control point.
- c2Y
- Single
Y-coordinate of the second control point.
- x
- Single
X-coordinate of the end point.
- y
- Single
Y-coordinate of the end point.
Returns
The current path.