PatternPathMotion Constructors

Definition

Overloads

Name Description
PatternPathMotion()

Constructs a PatternPathMotion with a straight-line pattern.

PatternPathMotion(Path)

Creates a PatternPathMotion with the Path defining a pattern of motion between two coordinates.

PatternPathMotion(Context, IAttributeSet)

Constructs a PatternPathMotion from XML attributes.

PatternPathMotion(IntPtr, JniHandleOwnership)

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

PatternPathMotion()

Constructs a PatternPathMotion with a straight-line pattern.

[Android.Runtime.Register(".ctor", "()V", "")]
public PatternPathMotion();
Attributes

Remarks

Constructs a PatternPathMotion with a straight-line pattern.

Java documentation for android.transition.PatternPathMotion.PatternPathMotion().

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

PatternPathMotion(Path)

Creates a PatternPathMotion with the Path defining a pattern of motion between two coordinates.

[Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")]
public PatternPathMotion(Android.Graphics.Path? patternPath);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/Path;)V", "")>]
new Android.Transitions.PatternPathMotion : Android.Graphics.Path -> Android.Transitions.PatternPathMotion

Parameters

patternPath
Path

A Path to be used as a pattern for two-dimensional motion.

Attributes

Remarks

Creates a PatternPathMotion with the Path defining a pattern of motion between two coordinates. The pattern will be translated, rotated, and scaled to fit between the start and end points. The pattern must not be empty and must have the end point differ from the start point.

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

PatternPathMotion(Context, IAttributeSet)

Constructs a PatternPathMotion from XML attributes.

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

Parameters

context
Context

The context used to obtain the PatternPathMotion style attributes.

attrs
IAttributeSet

The XML attributes. The android:patternPathData attribute is required.

Attributes

Remarks

The android:patternPathData attribute supplies the pattern path.

Java documentation for android.transition.PatternPathMotion.

Android Open Source Project source for XML-constructor behavior.

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

PatternPathMotion(IntPtr, JniHandleOwnership)

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

protected PatternPathMotion(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Transitions.PatternPathMotion : nativeint * Android.Runtime.JniHandleOwnership -> Android.Transitions.PatternPathMotion

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