Path.QuadTo(Single, Single, Single, Single) Method

Definition

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

[Android.Runtime.Register("quadTo", "(FFFF)V", "GetQuadTo_FFFFHandler")]
public virtual void QuadTo (float x1, float y1, float x2, float y2);
[<Android.Runtime.Register("quadTo", "(FFFF)V", "GetQuadTo_FFFFHandler")>]
abstract member QuadTo : single * single * single * single -> unit
override this.QuadTo : single * single * single * single -> unit

Parameters

x1
Single

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

y1
Single

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

x2
Single

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

y2
Single

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

Attributes

Remarks

Add a quadratic bezier from the last point, approaching control point (x1,y1), and ending at (x2,y2). If no moveTo() call has been made for this contour, the first point is automatically set to (0,0).

Java documentation for android.graphics.Path.quadTo(float, float, float, float).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to