Editar

Compartilhar via


SKPath.RCubicTo Method

Definition

Overloads

RCubicTo(SKPoint, SKPoint, SKPoint)

Same as CubicTo(SKPoint, SKPoint, SKPoint) but the coordinates are considered relative to the last point on this contour.

RCubicTo(Single, Single, Single, Single, Single, Single)

Same as CubicTo(Single, Single, Single, Single, Single, Single) but the coordinates are considered relative to the last point on this contour.

RCubicTo(SKPoint, SKPoint, SKPoint)

Same as CubicTo(SKPoint, SKPoint, SKPoint) but the coordinates are considered relative to the last point on this contour.

public void RCubicTo (SkiaSharp.SKPoint point0, SkiaSharp.SKPoint point1, SkiaSharp.SKPoint point2);

Parameters

point0
SKPoint

The amount to add to the coordinates of the last point on this contour, to specify the 1st control point on a cubic curve.

point1
SKPoint

The amount to add to the coordinates of the last point on this contour, to specify the 2nd control point on a cubic curve.

point2
SKPoint

The amount to add to the coordinates of the last point on this contour, to specify 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

RCubicTo(Single, Single, Single, Single, Single, Single)

Same as CubicTo(Single, Single, Single, Single, Single, Single) but the coordinates are considered relative to the last point on this contour.

public void RCubicTo (float dx0, float dy0, float dx1, float dy1, float dx2, float dy2);

Parameters

dx0
Single

The amount to add to the x-coordinate of the last point on this contour, to specify the 1st control point on a cubic curve.

dy0
Single

The amount to add to the y-coordinate of the last point on this contour, to specify the 1st control point on a cubic curve.

dx1
Single

The amount to add to the x-coordinate of the last point on this contour, to specify the 2nd control point on a cubic curve.

dy1
Single

The amount to add to the y-coordinate of the last point on this contour, to specify the 2nd control point on a cubic curve.

dx2
Single

The amount to add to the x-coordinate of the last point on this contour, to specify the end point on a cubic curve.

dy2
Single

The amount to add to the y-coordinate of the last point on this contour, to specify 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