Sdílet prostřednictvím


Path.CubicTo(Single, Single, Single, Single, Single, Single) Method

Definition

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

[Android.Runtime.Register("cubicTo", "(FFFFFF)V", "GetCubicTo_FFFFFFHandler")]
public virtual void CubicTo (float x1, float y1, float x2, float y2, float x3, float y3);
[<Android.Runtime.Register("cubicTo", "(FFFFFF)V", "GetCubicTo_FFFFFFHandler")>]
abstract member CubicTo : single * single * single * single * single * single -> unit
override this.CubicTo : single * single * single * single * single * single -> unit

Parameters

x1
Single

The x-coordinate of the 1st control point on a cubic curve

y1
Single

The y-coordinate of the 1st control point on a cubic curve

x2
Single

The x-coordinate of the 2nd control point on a cubic curve

y2
Single

The y-coordinate of the 2nd control point on a cubic curve

x3
Single

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

y3
Single

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

Attributes

Remarks

Add a cubic bezier from the last point, approaching control points (x1,y1) and (x2,y2), and ending at (x3,y3). 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.cubicTo(float, float, 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