Udostępnij za pośrednictwem


PathInterpolator Constructors

Definition

Overloads

PathInterpolator(Path)

Create an interpolator for an arbitrary Path.

PathInterpolator(Context, IAttributeSet)

Create an interpolator for a quadratic Bezier curve.

PathInterpolator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

PathInterpolator(Single, Single)

Create an interpolator for a quadratic Bezier curve.

PathInterpolator(Single, Single, Single, Single)

Create an interpolator for a cubic Bezier curve.

PathInterpolator(Path)

Create an interpolator for an arbitrary Path.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")]
public PathInterpolator (Android.Graphics.Path path);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")>]
new Android.Views.Animations.PathInterpolator : Android.Graphics.Path -> Android.Views.Animations.PathInterpolator

Parameters

path
Path

The Path to use to make the line representing the interpolator.

Attributes

Remarks

Create an interpolator for an arbitrary Path. The Path must begin at (0, 0) and end at (1, 1).

Java documentation for android.view.animation.PathInterpolator.PathInterpolator(android.graphics.Path).

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

PathInterpolator(Context, IAttributeSet)

Create an interpolator for a quadratic Bezier curve.

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public PathInterpolator (Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.PathInterpolator : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.PathInterpolator

Parameters

context
Context
Attributes

Remarks

Java documentation for android.view.animation.PathInterpolator.PathInterpolator(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

PathInterpolator(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected PathInterpolator (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.PathInterpolator : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.PathInterpolator

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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

PathInterpolator(Single, Single)

Create an interpolator for a quadratic Bezier curve.

[Android.Runtime.Register(".ctor", "(FF)V", "")]
public PathInterpolator (float controlX, float controlY);
[<Android.Runtime.Register(".ctor", "(FF)V", "")>]
new Android.Views.Animations.PathInterpolator : single * single -> Android.Views.Animations.PathInterpolator

Parameters

controlX
Single

The x coordinate of the quadratic Bezier control point.

controlY
Single

The y coordinate of the quadratic Bezier control point.

Attributes

Remarks

Create an interpolator for a quadratic Bezier curve. The end points (0, 0) and (1, 1) are assumed.

Java documentation for android.view.animation.PathInterpolator.PathInterpolator(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

PathInterpolator(Single, Single, Single, Single)

Create an interpolator for a cubic Bezier curve.

[Android.Runtime.Register(".ctor", "(FFFF)V", "")]
public PathInterpolator (float controlX1, float controlY1, float controlX2, float controlY2);
[<Android.Runtime.Register(".ctor", "(FFFF)V", "")>]
new Android.Views.Animations.PathInterpolator : single * single * single * single -> Android.Views.Animations.PathInterpolator

Parameters

controlX1
Single

The x coordinate of the first control point of the cubic Bezier.

controlY1
Single

The y coordinate of the first control point of the cubic Bezier.

controlX2
Single

The x coordinate of the second control point of the cubic Bezier.

controlY2
Single

The y coordinate of the second control point of the cubic Bezier.

Attributes

Remarks

Create an interpolator for a cubic Bezier curve. The end points (0, 0) and (1, 1) are assumed.

Java documentation for android.view.animation.PathInterpolator.PathInterpolator(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