Canvas.DrawPaint(Paint) Method

Definition

Fill the entire canvas' bitmap (restricted to the current clip) with the specified paint.

[Android.Runtime.Register("drawPaint", "(Landroid/graphics/Paint;)V", "GetDrawPaint_Landroid_graphics_Paint_Handler")]
public virtual void DrawPaint (Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawPaint", "(Landroid/graphics/Paint;)V", "GetDrawPaint_Landroid_graphics_Paint_Handler")>]
abstract member DrawPaint : Android.Graphics.Paint -> unit
override this.DrawPaint : Android.Graphics.Paint -> unit

Parameters

paint
Paint

The paint used to draw onto the canvas

Attributes

Remarks

Fill the entire canvas' bitmap (restricted to the current clip) with the specified paint. This is equivalent (but faster) to drawing an infinitely large rectangle with the specified paint.

Java documentation for android.graphics.Canvas.drawPaint(android.graphics.Paint).

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