編集

次の方法で共有


SKPath.QuadTo Method

Definition

Overloads

QuadTo(Single, Single, Single, Single)

Add a quadratic bezier from the last point.

QuadTo(SKPoint, SKPoint)

Add a quadratic bezier from the last point.

QuadTo(Single, Single, Single, Single)

Add a quadratic bezier from the last point.

public void QuadTo (float x0, float y0, float x1, float y1);

Parameters

x0
Single

The x-coordinate of the control point on a quadratic curve.

y0
Single

The y-coordinate of the control point on a quadratic curve.

x1
Single

The x-coordinate of the end point on a quadratic curve.

y1
Single

The y-coordinate of the end point on a quadratic curve.

Remarks

Add a quadratic bezier from the last point, approaching control point (x0, y0), and ending at (x1, y1).

If no MoveTo call has been made for this contour, the first point is automatically set to (0, 0).

Applies to

QuadTo(SKPoint, SKPoint)

Add a quadratic bezier from the last point.

public void QuadTo (SkiaSharp.SKPoint point0, SkiaSharp.SKPoint point1);

Parameters

point0
SKPoint

The coordinates of the control point on a quadratic curve.

point1
SKPoint

The coordinates of the end point on a quadratic curve.

Remarks

Add a quadratic bezier from the last point, approaching control point (point0), and ending at point1.

If no MoveTo call has been made for this contour, the first point is automatically set to (0, 0).

Applies to