Partager via


Canvas.DrawARGB(Int32, Int32, Int32, Int32) Method

Definition

Fill the entire canvas' bitmap (restricted to the current clip) with the specified ARGB color, using srcover porterduff mode.

[Android.Runtime.Register("drawARGB", "(IIII)V", "GetDrawARGB_IIIIHandler")]
public virtual void DrawARGB (int a, int r, int g, int b);
[<Android.Runtime.Register("drawARGB", "(IIII)V", "GetDrawARGB_IIIIHandler")>]
abstract member DrawARGB : int * int * int * int -> unit
override this.DrawARGB : int * int * int * int -> unit

Parameters

a
Int32

alpha component (0..255) of the color to draw onto the canvas

r
Int32

red component (0..255) of the color to draw onto the canvas

g
Int32

green component (0..255) of the color to draw onto the canvas

b
Int32

blue component (0..255) of the color to draw onto the canvas

Attributes

Remarks

Fill the entire canvas' bitmap (restricted to the current clip) with the specified ARGB color, using srcover porterduff mode.

Java documentation for android.graphics.Canvas.drawARGB(int, int, int, int).

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