Drawable.Draw(Canvas) Drawable.Draw(Canvas) Method

Definition

Draw in its bounds (set via setBounds) respecting optional effects such as alpha (set via setAlpha) and color filter (set via setColorFilter).

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

Parameters

canvas
Canvas Canvas

The canvas to draw into

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