GestureStroke.ToPath(Single, Single, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.