Color 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class Color
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.ColorTypeConverter))]
public class Color
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Graphics.Converters.ColorTypeConverter))>]
type Color = class
Public Class Color
- 繼承
-
- 屬性
-
建構函式
Color()
|
Color(Byte, Byte, Byte)
|
Color(Byte, Byte, Byte, Byte)
|
Color(Int32, Int32, Int32)
|
Color(Int32, Int32, Int32, Int32)
|
Color(Single)
|
Color(Single, Single, Single)
|
Color(Single, Single, Single, Single)
|
Color(Vector4)
|
欄位
方法
AddLuminosity(Single)
|
AsPaint()
|
Equals(Object)
|
FromArgb(String)
|
FromHex(String)
|
FromHsla(Double, Double, Double, Double)
|
FromHsla(Single, Single, Single, Single)
|
FromHsv(Int32, Int32, Int32)
|
FromHsv(Single, Single, Single)
|
FromHsva(Int32, Int32, Int32, Int32)
|
FromHsva(Single, Single, Single, Single)
|
FromInt(Int32)
|
FromRgb(Byte, Byte, Byte)
|
FromRgb(Double, Double, Double)
|
FromRgb(Int32, Int32, Int32)
|
FromRgb(Single, Single, Single)
|
FromRgba(Byte, Byte, Byte, Byte)
|
FromRgba(Double, Double, Double, Double)
|
FromRgba(Int32, Int32, Int32, Int32)
|
FromRgba(Single, Single, Single, Single)
|
FromRgba(String)
|
FromUint(UInt32)
|
GetComplementary()
|
GetHashCode()
|
GetHue()
|
GetLuminosity()
|
GetSaturation()
|
MultiplyAlpha(Single)
|
Parse(String)
|
ToArgbHex(Boolean)
|
ToHex()
|
ToHex(Boolean)
|
ToHsl(Single, Single, Single)
|
ToInt()
|
ToRgb(Byte, Byte, Byte)
|
ToRgba(Byte, Byte, Byte, Byte)
|
ToRgbaHex(Boolean)
|
ToString()
|
ToUint()
|
TryParse(String, Color)
|
WithAlpha(Single)
|
WithHue(Single)
|
WithLuminosity(Single)
|
WithSaturation(Single)
|
運算子
擴充方法
適用於