6 writes to Alpha
Microsoft.Maui.Graphics (6)
41 references to Alpha
Microsoft.Maui (2)
Microsoft.Maui.Controls (6)
Microsoft.Maui.Controls.Build.Tasks (1)
Microsoft.Maui.Controls.Compatibility (1)
Microsoft.Maui.Graphics (22)
Color.cs (15)
87 return $"[Color: Red={Red}, Green={Green}, Blue={Blue}, Alpha={Alpha}]";
97 hashcode = (hashcode * 397) ^ Alpha.GetHashCode();
113 if (includeAlpha || Alpha < 1)
114 return "#" + ToHex(Alpha) + ToHex(Red) + ToHex(Green) + ToHex(Blue);
126 if (includeAlpha || Alpha < 1)
127 return "#" + ToHex(Alpha) + ToHex(Red) + ToHex(Green) + ToHex(Blue);
134 if (includeAlpha || Alpha < 1)
135 return "#" + ToHex(Red) + ToHex(Green) + ToHex(Blue) + ToHex(Alpha);
153 if (Math.Abs(alpha - Alpha) < GeometryUtil.Epsilon)
161 return new Color(Red, Green, Blue, Alpha * multiplyBy);
188 a = (byte)(Alpha * 255f);
211 return FromHsla(h, s, l, Alpha);
217 return FromHsla(h, s, luminosity, Alpha);
229 return FromHsla(h, saturation, l, Alpha);
241 return FromHsla(hue, s, l, Alpha);
Microsoft.Maui.Graphics.Skia (7)
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)