Udostępnij za pośrednictwem


Path.RConicTo(Single, Single, Single, Single, Single) Method

Definition

Same as conicTo, but the coordinates are considered relative to the last point on this contour.

[Android.Runtime.Register("rConicTo", "(FFFFF)V", "GetRConicTo_FFFFFHandler", ApiSince=34)]
public virtual void RConicTo (float dx1, float dy1, float dx2, float dy2, float weight);
[<Android.Runtime.Register("rConicTo", "(FFFFF)V", "GetRConicTo_FFFFFHandler", ApiSince=34)>]
abstract member RConicTo : single * single * single * single * single -> unit
override this.RConicTo : single * single * single * single * single -> unit

Parameters

dx1
Single

The amount to add to the x-coordinate of the last point on this contour, for the control point of a conic curve

dy1
Single

The amount to add to the y-coordinate of the last point on this contour, for the control point of a conic curve

dx2
Single

The amount to add to the x-coordinate of the last point on this contour, for the end point of a conic curve

dy2
Single

The amount to add to the y-coordinate of the last point on this contour, for the end point of a conic curve

weight
Single

The weight of the conic applied to the curve. A value of 1 is equivalent to a quadratic with the given control and anchor points and a value of 0 is equivalent to a line to the first and another line to the second point.

Attributes

Remarks

Same as conicTo, but the coordinates are considered relative to the last point on this contour. If there is no previous point, then a moveTo(0,0) is inserted automatically.

Java documentation for android.graphics.Path.rConicTo(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