Share via


GestureStroke.ToPath(Single, Single, Int32) Method

Definition

Converts the stroke to a Path of a given number of points.

[Android.Runtime.Register("toPath", "(FFI)Landroid/graphics/Path;", "GetToPath_FFIHandler")]
public virtual Android.Graphics.Path? ToPath (float width, float height, int numSample);
[<Android.Runtime.Register("toPath", "(FFI)Landroid/graphics/Path;", "GetToPath_FFIHandler")>]
abstract member ToPath : single * single * int -> Android.Graphics.Path
override this.ToPath : single * single * int -> Android.Graphics.Path

Parameters

width
Single

the width of the bounding box of the target path

height
Single

the height of the bounding box of the target path

numSample
Int32

the number of points needed

Returns

the path

Attributes

Remarks

Converts the stroke to a Path of a given number of points.

Java documentation for android.gesture.GestureStroke.toPath(float, float, int).

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