Udostępnij za pośrednictwem


ScaleDrawable.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 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

Parameters

canvas
Canvas

The canvas to draw into

Attributes

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