4 writes to Colors
System.Drawing.Common (4)
System\Drawing\Drawing2D\ColorBlend.cs (2)
10
Colors
= new Color[1];
16
Colors
= new Color[count];
System\Drawing\Drawing2D\LinearGradientBrush.cs (1)
238
blend.
Colors
= colors.ToColorArray(count);
System\Drawing\Drawing2D\PathGradientBrush.cs (1)
287
blend.
Colors
= colors.ToColorArray(count);
6 references to Colors
System.Drawing.Common (6)
System\Drawing\Drawing2D\LinearGradientBrush.cs (3)
246
int count = value.
Colors
.Length;
250
if (value.
Colors
.Length != value.Positions.Length)
254
using ArgbBuffer argbValues = new(value.
Colors
);
System\Drawing\Drawing2D\PathGradientBrush.cs (3)
294
int count = value.
Colors
.Length;
296
if (value.Positions is null || value.
Colors
.Length != value.Positions.Length)
300
using ArgbBuffer argbColors = new(value.
Colors
);