Partager via


Color Constructeurs

Définition

Surcharges

Color()
Color(Vector4)
Color(Single)
Color(Byte, Byte, Byte)
Color(Int32, Int32, Int32)
Color(Single, Single, Single)
Color(Byte, Byte, Byte, Byte)
Color(Int32, Int32, Int32, Int32)
Color(Single, Single, Single, Single)

Color()

public:
 Color();
public Color ();
Public Sub New ()

S’applique à

Color(Vector4)

public:
 Color(System::Numerics::Vector4 color);
public Color (System.Numerics.Vector4 color);
new Microsoft.Maui.Graphics.Color : System.Numerics.Vector4 -> Microsoft.Maui.Graphics.Color
Public Sub New (color As Vector4)

Paramètres

color
Vector4

S’applique à

Color(Single)

public:
 Color(float gray);
public Color (float gray);
new Microsoft.Maui.Graphics.Color : single -> Microsoft.Maui.Graphics.Color
Public Sub New (gray As Single)

Paramètres

gray
Single

S’applique à

Color(Byte, Byte, Byte)

public:
 Color(System::Byte red, System::Byte green, System::Byte blue);
public Color (byte red, byte green, byte blue);
new Microsoft.Maui.Graphics.Color : byte * byte * byte -> Microsoft.Maui.Graphics.Color
Public Sub New (red As Byte, green As Byte, blue As Byte)

Paramètres

red
Byte
green
Byte
blue
Byte

S’applique à

Color(Int32, Int32, Int32)

public:
 Color(int red, int green, int blue);
public Color (int red, int green, int blue);
new Microsoft.Maui.Graphics.Color : int * int * int -> Microsoft.Maui.Graphics.Color
Public Sub New (red As Integer, green As Integer, blue As Integer)

Paramètres

red
Int32
green
Int32
blue
Int32

S’applique à

Color(Single, Single, Single)

public:
 Color(float red, float green, float blue);
public Color (float red, float green, float blue);
new Microsoft.Maui.Graphics.Color : single * single * single -> Microsoft.Maui.Graphics.Color
Public Sub New (red As Single, green As Single, blue As Single)

Paramètres

red
Single
green
Single
blue
Single

S’applique à

Color(Byte, Byte, Byte, Byte)

public:
 Color(System::Byte red, System::Byte green, System::Byte blue, System::Byte alpha);
public Color (byte red, byte green, byte blue, byte alpha);
new Microsoft.Maui.Graphics.Color : byte * byte * byte * byte -> Microsoft.Maui.Graphics.Color
Public Sub New (red As Byte, green As Byte, blue As Byte, alpha As Byte)

Paramètres

red
Byte
green
Byte
blue
Byte
alpha
Byte

S’applique à

Color(Int32, Int32, Int32, Int32)

public:
 Color(int red, int green, int blue, int alpha);
public Color (int red, int green, int blue, int alpha);
new Microsoft.Maui.Graphics.Color : int * int * int * int -> Microsoft.Maui.Graphics.Color
Public Sub New (red As Integer, green As Integer, blue As Integer, alpha As Integer)

Paramètres

red
Int32
green
Int32
blue
Int32
alpha
Int32

S’applique à

Color(Single, Single, Single, Single)

public:
 Color(float red, float green, float blue, float alpha);
public Color (float red, float green, float blue, float alpha);
new Microsoft.Maui.Graphics.Color : single * single * single * single -> Microsoft.Maui.Graphics.Color
Public Sub New (red As Single, green As Single, blue As Single, alpha As Single)

Paramètres

red
Single
green
Single
blue
Single
alpha
Single

S’applique à