Language

RecordingCanvas.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", "", ApiSince=29)]
public override sealed void DrawPaint(Android.Graphics.Paint paint);
[<Android.Runtime.Register("drawPaint", "(Landroid/graphics/Paint;)V", "", ApiSince=29)>]
override this.DrawPaint : Android.Graphics.Paint -> unit

Parameters

paint
Paint
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.

Android reference for android.graphics.RecordingCanvas.drawPaint.

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