Langue

AnimationDrawable.GetFrame(Int32) Méthode

Définition

Obtient le dessinable pour un cadre.

[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

Paramètres

index
Int32

Index de base zéro du frame.

Retours

Dessinable à l’index de trame spécifié

Attributs

Remarques

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

Les parties de cette page sont des modifications basées sur le travail créé et partagé par Android Open Source et utilisées en fonction des termes décrits dans la Creative Commons 2.5 Attribution License.

S’applique à