SKPathBuilder.CubicTo 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
| Name | Description |
|---|---|
| CubicTo(Single, Single, Single, Single, Single, Single) |
Appends a cubic Bézier curve to the current contour using coordinate values. |
| CubicTo(SKPoint, SKPoint, SKPoint) |
Appends a cubic Bézier curve to the current contour. |
CubicTo(Single, Single, Single, Single, Single, Single)
Appends a cubic Bézier curve to the current contour using coordinate values.
public void CubicTo(float x0, float y0, float x1, float y1, float x2, float y2);
Parameters
- x0
- Single
The x-coordinate of the first control point.
- y0
- Single
The y-coordinate of the first control point.
- x1
- Single
The x-coordinate of the second control point.
- y1
- Single
The y-coordinate of the second control point.
- x2
- Single
The x-coordinate of the end point.
- y2
- Single
The y-coordinate of the end point.
Applies to
CubicTo(SKPoint, SKPoint, SKPoint)
Appends a cubic Bézier curve to the current contour.
public void CubicTo(SkiaSharp.SKPoint point0, SkiaSharp.SKPoint point1, SkiaSharp.SKPoint point2);
Parameters
- point0
- SKPoint
The first control point of the cubic Bézier.
- point1
- SKPoint
The second control point of the cubic Bézier.
- point2
- SKPoint
The end point of the cubic Bézier.