PathMotion.GetPath(Single, Single, Single, Single) Method

Definition

Provide a Path to interpolate between two points (startX, startY) and (endX, endY).

[Android.Runtime.Register("getPath", "(FFFF)Landroid/graphics/Path;", "GetGetPath_FFFFHandler")]
public abstract Android.Graphics.Path? GetPath (float startX, float startY, float endX, float endY);
[<Android.Runtime.Register("getPath", "(FFFF)Landroid/graphics/Path;", "GetGetPath_FFFFHandler")>]
abstract member GetPath : single * single * single * single -> Android.Graphics.Path

Parameters

startX
Single

The x coordinate of the starting point.

startY
Single

The y coordinate of the starting point.

endX
Single

The x coordinate of the ending point.

endY
Single

The y coordinate of the ending point.

Returns

A Path along which the points should be interpolated. The returned Path must start at point (startX, startY), typically using android.graphics.Path#moveTo(float, float) and end at (endX, endY).

Attributes

Remarks

Provide a Path to interpolate between two points (startX, startY) and (endX, endY). This allows controlled curved motion along two dimensions.

Java documentation for android.transition.PathMotion.getPath(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