Aracılığıyla paylaş


Path.LineTo(Single, Single) Method

Definition

Add a line from the last point to the specified point (x,y).

[Android.Runtime.Register("lineTo", "(FF)V", "GetLineTo_FFHandler")]
public virtual void LineTo (float x, float y);
[<Android.Runtime.Register("lineTo", "(FF)V", "GetLineTo_FFHandler")>]
abstract member LineTo : single * single -> unit
override this.LineTo : single * single -> unit

Parameters

x
Single

The x-coordinate of the end of a line

y
Single

The y-coordinate of the end of a line

Attributes

Remarks

Add a line from the last point to the specified point (x,y). 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.lineTo(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