Color 생성자
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
Color()
public:
Color();
public Color ();
Public Sub New ()
적용 대상
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)
매개 변수
- color
- Vector4
적용 대상
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)
매개 변수
- gray
- Single
적용 대상
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)
매개 변수
- red
- Byte
- green
- Byte
- blue
- Byte
적용 대상
Color(Int32, Int32, Int32)
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)
매개 변수
- red
- Single
- green
- Single
- blue
- Single
적용 대상
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)
매개 변수
- red
- Byte
- green
- Byte
- blue
- Byte
- alpha
- Byte
적용 대상
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)
매개 변수
- red
- Int32
- green
- Int32
- blue
- Int32
- alpha
- Int32
적용 대상
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)
매개 변수
- red
- Single
- green
- Single
- blue
- Single
- alpha
- Single