Sdílet prostřednictvím


Path.RLineTo(Single, Single) Method

Definition

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

[Android.Runtime.Register("rLineTo", "(FF)V", "GetRLineTo_FFHandler")]
public virtual void RLineTo (float dx, float dy);
[<Android.Runtime.Register("rLineTo", "(FF)V", "GetRLineTo_FFHandler")>]
abstract member RLineTo : single * single -> unit
override this.RLineTo : single * single -> unit

Parameters

dx
Single

The amount to add to the x-coordinate of the previous point on this contour, to specify a line

dy
Single

The amount to add to the y-coordinate of the previous point on this contour, to specify a line

Attributes

Remarks

Same as lineTo, 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.rLineTo(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