Android.Transitions.Transition.PathMotion Property
Returns the algorithm object used to interpolate along two dimensions.

Syntax

[get: Android.Runtime.Register("getPathMotion", "()Landroid/transition/PathMotion;", "GetGetPathMotionHandler")]
[set: Android.Runtime.Register("setPathMotion", "(Landroid/transition/PathMotion;)V", "GetSetPathMotion_Landroid_transition_PathMotion_Handler")]
public virtual PathMotion PathMotion { get; set; }

See Also

ArcMotion
PatternPathMotion
PathMotion
ArcMotion
PatternPathMotion
PathMotion

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Returns the algorithm object used to interpolate along two dimensions. This is typically used to determine the View motion between two points.

java Example

<changeBounds>
   <arcMotion android:minimumHorizontalAngle="15"
              android:minimumVerticalAngle="0"
              android:maximumAngle="90"/>
 </changeBounds>

When describing in XML, use a nested XML tag for the path motion. It can be one of the built-in tags arcMotion or patternPathMotion or it can be a custom PathMotion using pathMotion with the class attributed with the fully-described class name. For example:

or

Set method documentation [Android Documentation]

Sets the algorithm used to calculate two-dimensional interpolation.

java Example

<changeBounds>
     <pathMotion class="my.app.transition.MyPathMotion"/>
 </changeBounds>
 

Transitions such as Android.Transitions.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(float, System.Single, System.Single, System.Single).

When describing in XML, use a nested XML tag for the path motion. It can be one of the built-in tags arcMotion or patternPathMotion or it can be a custom PathMotion using pathMotion with the class attributed with the fully-described class name. For example:

or

Requirements

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