In This Topic
Creates a color from the ARGB components.
Syntax
'Declaration
Public Shared Function FromARGB( _
ByVal As Byte, _
ByVal As Byte, _
ByVal As Byte, _
ByVal As Byte _
) As Brush
'Usage
Dim a As Byte
Dim r As Byte
Dim g As Byte
Dim b As Byte
Dim value As Brush
value = ColorEx.FromARGB(a, r, g, b)
public static Brush FromARGB(
byte ,
byte ,
byte ,
byte
)
public:
static Brush^ FromARGB(
byte ,
byte ,
byte ,
byte
)
Parameters
- a
- The alpha channel.
- r
- The Red component.
- g
- The Green component.
- b
- The Blue component.
See Also