Android Guides | Samples

Android.Transitions.PathMotion Class

This base class can be extended to provide motion along a Path to Transitions.

See Also: PathMotion

Syntax

[Android.Runtime.Register("android/transition/PathMotion", DoNotGenerateAcw=true)]
public abstract class PathMotion : Object

Remarks

This base class can be extended to provide motion along a Path to Transitions.

Transitions such as ChangeBounds move Views, typically in a straight path between the start and end positions. Applications that desire to have these motions move in a curve can change how Views interpolate in two dimensions by extending PathMotion and implementing PathMotion.GetPath(Single,Single,Single,Single).

This may be used in XML as an element inside a transition.

[Android Documentation]

Requirements

Namespace: Android.Transitions
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Transitions.PathMotion are listed below.

See Also: Object

Public Constructors

Protected Constructors

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

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

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