ColorFromArgb Method
Creates a
Color from alpha, red, green and blue components.
Namespace: Avalonia.MediaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static Color FromArgb(
byte a,
byte r,
byte g,
byte b
)
Public Shared Function FromArgb (
a As Byte,
r As Byte,
g As Byte,
b As Byte
) As Color
static member FromArgb :
a : byte *
r : byte *
g : byte *
b : byte -> Color
- a Byte
- The alpha component.
- r Byte
- The red component.
- g Byte
- The green component.
- b Byte
- The blue component.
ColorThe color.