Lenguaje

AnimatedVectorDrawable.Draw(Canvas) Método

Definición

Dibuja AnimatedVectorDrawable en el lienzo especificado.

[Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "GetDraw_Landroid_graphics_Canvas_Handler")]
public override void Draw(Android.Graphics.Canvas? canvas);
[<Android.Runtime.Register("draw", "(Landroid/graphics/Canvas;)V", "GetDraw_Landroid_graphics_Canvas_Handler")>]
override this.Draw : Android.Graphics.Canvas -> unit

Parámetros

canvas
Canvas

Lienzo en el que se va a dibujar

Atributos

Comentarios

Dibuja AnimatedVectorDrawable en el lienzo especificado.

<strong>Note:</strong> Calling this method with a software canvas when the AnimatedVectorDrawable is being animated on RenderThread (for API 25 and later) may yield outdated result, as the UI thread is not guaranteed to be sync with RenderThread on VectorDrawable's property changes during RenderThread animations.

Java documentación para android.graphics.drawable.AnimatedVectorDrawable.draw(android.graphics.Canvas).

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