Class RgbaColor
public class RgbaColor
- Inheritance
-
RgbaColor
- Inherited Members
- Extension Methods
Constructors
RgbaColor()
public RgbaColor()
RgbaColor(double, double, double, double)
public RgbaColor(double h, double s, double b, double a = 1)
Parameters
RgbaColor(int, int, int, int)
public RgbaColor(int r, int g, int b, int a = 255)
Parameters
RgbaColor(string)
public RgbaColor(string hexColor)
Parameters
hexColor
string
RgbaColor(Brush)
public RgbaColor(Brush brush)
Parameters
brush
Brush
Properties
A
0 - 255
public int A { get; set; }
Property Value
B
0 - 255
public int B { get; set; }
Property Value
Color
public Color Color { get; }
Property Value
G
0 - 255
public int G { get; set; }
Property Value
HexString
public string HexString { get; }
Property Value
HsbaColor
public HsbaColor HsbaColor { get; }
Property Value
OpaqueColor
public Color OpaqueColor { get; }
Property Value
OpaqueSolidColorBrush
public SolidColorBrush OpaqueSolidColorBrush { get; }
Property Value
R
0 - 255
public int R { get; set; }
Property Value
RgbaString
public string RgbaString { get; }
Property Value
SolidColorBrush
public SolidColorBrush SolidColorBrush { get; }
Property Value
Y
亮度 0 - 100
public int Y { get; }