16 writes to a
PresentationCore (16)
System\Windows\Media\Color.cs (16)
44
c1.sRgbColor.
a
= 255;
94
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
119
c1.sRgbColor.
a
= (byte)((argb & 0xff000000) >> 24);
154
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
177
c1.sRgbColor.
a
= a;
362
sRgbColor.
a
= (byte)(scRgbColor.a * 255f);
473
c1.sRgbColor.
a
= 0;
478
c1.sRgbColor.
a
= 255;
482
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
590
c1.sRgbColor.
a
= 0;
595
c1.sRgbColor.
a
= 255;
599
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
801
sRgbColor.
a
= value;
893
sRgbColor.
a
= 0;
897
sRgbColor.
a
= (byte)255;
901
sRgbColor.
a
= (byte)(value * 255f);
3 references to a
PresentationCore (3)
System\Windows\Media\Color.cs (3)
123
c1.scRgbColor.a = (float)c1.sRgbColor.
a
/ 255.0f;
273
return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.
a
:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}");
796
return sRgbColor.
a
;