AnimationDrawable.AddFrame(Drawable, Int32) Método

Definición

Agrega un marco a la animación

[Android.Runtime.Register("addFrame", "(Landroid/graphics/drawable/Drawable;I)V", "GetAddFrame_Landroid_graphics_drawable_Drawable_IHandler")]
public virtual void AddFrame(Android.Graphics.Drawables.Drawable frame, int duration);
[<Android.Runtime.Register("addFrame", "(Landroid/graphics/drawable/Drawable;I)V", "GetAddFrame_Landroid_graphics_drawable_Drawable_IHandler")>]
abstract member AddFrame : Android.Graphics.Drawables.Drawable * int -> unit
override this.AddFrame : Android.Graphics.Drawables.Drawable * int -> unit

Parámetros

frame
Drawable

Marco que se va a agregar

duration
Int32

Cuánto tiempo en milisegundos debe aparecer el marco

Atributos

Comentarios

Agrega un marco a la animación

Java documentación para android.graphics.drawable.AnimationDrawable.addFrame(android.graphics.drawable.Drawable, int).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a