Language

AnimationDrawable.GetFrame(Int32) Method

Definition

Gets the drawable for a frame.

[Android.Runtime.Register("getFrame", "(I)Landroid/graphics/drawable/Drawable;", "GetGetFrame_IHandler")]
public virtual Android.Graphics.Drawables.Drawable? GetFrame(int index);
[<Android.Runtime.Register("getFrame", "(I)Landroid/graphics/drawable/Drawable;", "GetGetFrame_IHandler")>]
abstract member GetFrame : int -> Android.Graphics.Drawables.Drawable
override this.GetFrame : int -> Android.Graphics.Drawables.Drawable

Parameters

index
Int32

The zero-based index of the frame.

Returns

The Drawable at the specified frame index

Attributes

Remarks

Java documentation for android.graphics.drawable.AnimationDrawable.getFrame(int).

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