Color.FromRgb メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
FromRgb(Byte, Byte, Byte) | |
FromRgb(Double, Double, Double) | |
FromRgb(Int32, Int32, Int32) | |
FromRgb(Single, Single, Single) |
FromRgb(Byte, Byte, Byte)
public:
static Microsoft::Maui::Graphics::Color ^ FromRgb(System::Byte red, System::Byte green, System::Byte blue);
public static Microsoft.Maui.Graphics.Color FromRgb (byte red, byte green, byte blue);
static member FromRgb : byte * byte * byte -> Microsoft.Maui.Graphics.Color
Public Shared Function FromRgb (red As Byte, green As Byte, blue As Byte) As Color
パラメーター
- red
- Byte
- green
- Byte
- blue
- Byte
戻り値
適用対象
FromRgb(Double, Double, Double)
public:
static Microsoft::Maui::Graphics::Color ^ FromRgb(double red, double green, double blue);
public static Microsoft.Maui.Graphics.Color FromRgb (double red, double green, double blue);
static member FromRgb : double * double * double -> Microsoft.Maui.Graphics.Color
Public Shared Function FromRgb (red As Double, green As Double, blue As Double) As Color
パラメーター
- red
- Double
- green
- Double
- blue
- Double
戻り値
適用対象
FromRgb(Int32, Int32, Int32)
public:
static Microsoft::Maui::Graphics::Color ^ FromRgb(int red, int green, int blue);
public static Microsoft.Maui.Graphics.Color FromRgb (int red, int green, int blue);
static member FromRgb : int * int * int -> Microsoft.Maui.Graphics.Color
Public Shared Function FromRgb (red As Integer, green As Integer, blue As Integer) As Color
パラメーター
- red
- Int32
- green
- Int32
- blue
- Int32
戻り値
適用対象
FromRgb(Single, Single, Single)
public:
static Microsoft::Maui::Graphics::Color ^ FromRgb(float red, float green, float blue);
public static Microsoft.Maui.Graphics.Color FromRgb (float red, float green, float blue);
static member FromRgb : single * single * single -> Microsoft.Maui.Graphics.Color
Public Shared Function FromRgb (red As Single, green As Single, blue As Single) As Color
パラメーター
- red
- Single
- green
- Single
- blue
- Single