9 writes to Blue
Microsoft.Maui.Graphics (9)
Color.cs (9)
22 Red = Green = Blue = 0; 27 Red = Green = Blue = gray.Clamp(0, 1); 34 Blue = blue.Clamp(0, 1); 41 Blue = blue.Clamp(0, 1); 49 Blue = (blue / 255f).Clamp(0, 1); 57 Blue = (blue / 255f).Clamp(0, 1); 65 Blue = (blue / 255f).Clamp(0, 1); 73 Blue = (blue / 255f).Clamp(0, 1); 81 Blue = color.Z.Clamp(0, 1);
33 references to Blue
Microsoft.Maui (3)
Animations\AnimationLerpingExtensions.cs (2)
14 var b = Lerp(color.Blue, endColor.Blue, progress);
Platform\SwipeViewExtensions.cs (1)
17 var luminosity = 0.2126f * backgroundColor.Red + 0.7152f * backgroundColor.Green + 0.0722f * backgroundColor.Blue;
Microsoft.Maui.Controls (1)
Compatibility\Handlers\Shell\iOS\ShellSectionRootHeader.cs (1)
44 CollectionView.BackgroundColor = new Color(backgroundColor.Red, backgroundColor.Green, backgroundColor.Blue, .863f).ToPlatform();
Microsoft.Maui.Controls.Build.Tasks (1)
CompiledConverters\ColorTypeConverter.cs (1)
29 yield return Instruction.Create(OpCodes.Ldc_R4, color.Blue);
Microsoft.Maui.Controls.Compatibility (2)
iOS\Renderers\SwipeViewRenderer.cs (1)
677 var luminosity = 0.2126 * backgroundColor.Red + 0.7152 * backgroundColor.Green + 0.0722 * backgroundColor.Blue;
iOS\Shapes\ShapeRenderer.cs (1)
553 colors[index] = new CGColor(new nfloat(color.Red), new nfloat(color.Green), new nfloat(color.Blue), new nfloat(color.Alpha));
Microsoft.Maui.Graphics (17)
Color.cs (15)
87 return $"[Color: Red={Red}, Green={Green}, Blue={Blue}, Alpha={Alpha}]"; 96 hashcode = (hashcode * 397) ^ Blue.GetHashCode(); 114 return "#" + ToHex(Alpha) + ToHex(Red) + ToHex(Green) + ToHex(Blue); 116 return "#" + ToHex(Red) + ToHex(Green) + ToHex(Blue); 121 return "#" + ToHex(Red) + ToHex(Green) + ToHex(Blue); 127 return "#" + ToHex(Alpha) + ToHex(Red) + ToHex(Green) + ToHex(Blue); 129 return "#" + ToHex(Red) + ToHex(Green) + ToHex(Blue); 135 return "#" + ToHex(Red) + ToHex(Green) + ToHex(Blue) + ToHex(Alpha); 137 return "#" + ToHex(Red) + ToHex(Green) + ToHex(Blue); 156 return new Color(Red, Green, Blue, alpha); 161 return new Color(Red, Green, Blue, Alpha * multiplyBy); 191 b = (byte)(Blue * 255f); 197 v = Math.Max(v, Blue); 199 m = Math.Min(m, Blue); 520 var b = Blue;
GradientPaint.cs (2)
252 var b = GeometryUtil.GetLinearValue(startColor.Blue, endColor.Blue, factor);
Microsoft.Maui.Graphics.Skia (7)
SKColorExtensions.cs (1)
11 var b = (byte)(target.Blue * 255f);
SKGraphicsExtensions.cs (4)
14 var b = (byte)(target.Blue * 255f); 29 var b = (int)(target.Blue * 255f); 40 var b = (int)(target.Blue * 255f); 50 var b = (byte)(target.Blue * 255f);
SkiaCanvasState.cs (2)
297 var b = (byte)(_strokeColor.Blue * 255f); 313 var b = (byte)(_fillColor.Blue * 255f);
Microsoft.Maui.Graphics.Win2D.WinUI.Desktop (2)
src\Graphics\src\Graphics\Platforms\Windows\GraphicsExtensions.cs (2)
39 var b = (byte)(finalColor.Blue * 255); 60 var b = (byte)(color.Blue * 255);