6 references to new
System.Drawing.Common.Tests (6)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (6)
59using PathGradientBrush brushFloat = new(_defaultFloatPoints, wrapMode); 81Assert.Throws<ArgumentException>(() => new PathGradientBrush(new PointF[pointsLength], WrapMode.Clamp)); 91new PathGradientBrush(_defaultFloatPoints, (WrapMode)int.MaxValue)); 222using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 256using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 275using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY);