ColorFromArgb Method (Byte, Byte, Byte, Byte)
|
Creates a Color from the specified 8-bit RGB
color values (alpha, red, green, and blue).
Namespace: WebSupergoo.WordGlue4.Rendering
Assembly: WordGlue4 (in WordGlue4.dll)
Version: 4.1.0.0 (4.1.0.0)
Syntax
public static Color FromArgb(
byte alpha,
byte red,
byte green,
byte blue
)
Public Shared Function FromArgb (
alpha As Byte,
red As Byte,
green As Byte,
blue As Byte
) As Color
static member FromArgb :
alpha : byte *
red : byte *
green : byte *
blue : byte -> Color
Parameters
- alpha
- Type: SystemByte
The alpha component value. Valid values are 0 through 255.
- red
- Type: SystemByte
The red component value. Valid values are 0 through 255.
- green
- Type: SystemByte
The green component value. Valid values are 0 through 255.
- blue
- Type: SystemByte
The blue component value. Valid values are 0 through 255.
Return Value
Type:
Color
The Color that this method creates.
See Also