Image.rgb(Int32, Int32, Int32) Method

Definition

Converts an RGB value to an ARGB value.

public:
 static int rgb(int _R, int _G, int _B);
public static int rgb (int _R, int _G, int _B);
static member rgb : int * int * int -> int
Public Shared Function rgb (_R As Integer, _G As Integer, _B As Integer) As Integer

Parameters

_R
Int32

The blue value of the color.

_G
Int32

The blue value of the color.

_B
Int32

The blue value of the color.

Returns

An integer that represents the ARGB value of the color that is specified by the parameters.

Applies to