16 writes to a
PresentationCore (16)
System\Windows\Media\Color.cs (16)
53
c1.sRgbColor.
a
= 255;
103
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
128
c1.sRgbColor.
a
= (byte)((argb & 0xff000000) >> 24);
163
c1.sRgbColor.
a
= (byte)((a * 255.0f) + 0.5f);
186
c1.sRgbColor.
a
= a;
371
sRgbColor.
a
= (byte)(scRgbColor.a * 255f);
484
c1.sRgbColor.
a
= 0;
489
c1.sRgbColor.
a
= 255;
493
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
603
c1.sRgbColor.
a
= 0;
608
c1.sRgbColor.
a
= 255;
612
c1.sRgbColor.
a
= (byte)((c1.scRgbColor.a * 255.0f) + 0.5f);
817
sRgbColor.
a
= value;
909
sRgbColor.
a
= 0;
913
sRgbColor.
a
= (byte)255;
917
sRgbColor.
a
= (byte)(value * 255f);
3 references to a
PresentationCore (3)
System\Windows\Media\Color.cs (3)
132
c1.scRgbColor.a = (float)c1.sRgbColor.
a
/ 255.0f;
282
return string.Create(provider, stackalloc char[128], $"#{this.sRgbColor.
a
:X2}{this.sRgbColor.r:X2}{this.sRgbColor.g:X2}{this.sRgbColor.b:X2}");
812
return sRgbColor.
a
;