Color.FromArgb(Byte, Byte, Byte, Byte) Metodo
Definizione
public:
static Windows::UI::Color FromArgb(System::Byte a, System::Byte r, System::Byte g, System::Byte b);
public static Windows.UI.Color FromArgb (byte a, byte r, byte g, byte b);
static member FromArgb : byte * byte * byte * byte -> Windows.UI.Color
Public Shared Function FromArgb (a As Byte, r As Byte, g As Byte, b As Byte) As Color
Parametri
- a
- Byte
Canale alfa, ovvero A, del nuovo colore.The alpha channel, A, of the new color. Il valore deve essere compreso tra 0 e 255.The value must be between 0 and 255.
- r
- Byte
Canale rosso, ovvero R, del nuovo colore.The red channel, R, of the new color. Il valore deve essere compreso tra 0 e 255.The value must be between 0 and 255.
- g
- Byte
Canale verde, ovvero G, del nuovo colore.The green channel, G, of the new color. Il valore deve essere compreso tra 0 e 255.The value must be between 0 and 255.
- b
- Byte
Canale blu, ovvero B, del nuovo colore.The blue channel, B, of the new color. Il valore deve essere compreso tra 0 e 255.The value must be between 0 and 255.
Restituisce
Struct Color con i valori specificati.A Color struct with the specified values.
Commenti
Questo struct rappresenta la proiezione .NET dello struct Windows Runtime (WinRT) Color
.This struct represents the .NET projection of the Windows Runtime (WinRT) Color
struct. Per altre informazioni, vedere color nei riferimenti all'API UWP.For more information, see Color in the UWP API reference.