SKPath.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
CubicTo(Single, Single, Single, Single, Single, Single) |
Adds a cubic bezier from the last point. |
CubicTo(SKPoint, SKPoint, SKPoint) |
Adds a cubic bezier from the last point. |
CubicTo(Single, Single, Single, Single, Single, Single)
Adds a cubic bezier from the last point.
public void CubicTo (float x0, float y0, float x1, float y1, float x2, float y2);
Parameters
- x0
- Single
The x-coordinate of the 1st control point on a cubic curve.
- y0
- Single
The y-coordinate of the 1st control point on a cubic curve.
- x1
- Single
The x-coordinate of the 2nd control point on a cubic curve.
- y1
- Single
The y-coordinate of the 2nd control point on a cubic curve.
- x2
- Single
The x-coordinate of the end point on a cubic curve.
- y2
- Single
The y-coordinate of the end point on a cubic curve.
Remarks
If no MoveTo call has been made for this contour, the first point is automatically set to (0, 0).
Applies to
CubicTo(SKPoint, SKPoint, SKPoint)
Adds a cubic bezier from the last point.
public void CubicTo (SkiaSharp.SKPoint point0, SkiaSharp.SKPoint point1, SkiaSharp.SKPoint point2);
Parameters
- point0
- SKPoint
The coordinates of the 1st control point on a cubic curve.
- point1
- SKPoint
The coordinates of the 2nd control point on a cubic curve.
- point2
- SKPoint
The coordinates of the end point on a cubic curve.
Remarks
If no MoveTo call has been made for this contour, the first point is automatically set to (0, 0).
Applies to
SkiaSharp
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기