3 writes to Factors
System.Drawing.Common (3)
System\Drawing\Drawing2D\Blend.cs (2)
10Factors = new float[1]; 16Factors = new float[count];
System\Drawing\Drawing2D\PathGradientBrush.cs (1)
219Factors = factors,
9 references to Factors
System.Drawing.Common (9)
System\Drawing\Drawing2D\LinearGradientBrush.cs (5)
172fixed (float* f = blend.Factors, p = blend.Positions) 182ArgumentNullException.ThrowIfNull(value.Factors); 184if (value.Positions is null || value.Positions.Length != value.Factors.Length) 187fixed (float* f = value.Factors, p = value.Positions) 190PInvokeGdiPlus.GdipSetLineBlend(NativeLineGradient, f, p, value.Factors.Length).ThrowIfFailed();
System\Drawing\Drawing2D\PathGradientBrush.cs (4)
229ArgumentNullException.ThrowIfNull(value.Factors); 231if (value.Positions is null || value.Positions.Length != value.Factors.Length) 234int count = value.Factors.Length; 236fixed (float* f = value.Factors, p = value.Positions)