85 instantiations of PathGradientBrush
System.Drawing.Common.Tests (85)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (85)
37using PathGradientBrush bi = new(_defaultIntPoints); 38using PathGradientBrush bf = new(_defaultFloatPoints); 58using PathGradientBrush brushInt = new(_defaultIntPoints, wrapMode); 59using PathGradientBrush brushFloat = new(_defaultFloatPoints, wrapMode); 69AssertExtensions.Throws<ArgumentNullException>("points", () => new PathGradientBrush((Point[])null)); 70AssertExtensions.Throws<ArgumentNullException>("points", () => new PathGradientBrush((PointF[])null)); 78Assert.Throws<ArgumentException>(() => new PathGradientBrush(new Point[pointsLength])); 79Assert.Throws<ArgumentException>(() => new PathGradientBrush(new Point[pointsLength], WrapMode.Clamp)); 80Assert.Throws<ArgumentException>(() => new PathGradientBrush(new PointF[pointsLength])); 81Assert.Throws<ArgumentException>(() => new PathGradientBrush(new PointF[pointsLength], WrapMode.Clamp)); 88new PathGradientBrush(_defaultIntPoints, (WrapMode)int.MaxValue)); 91new PathGradientBrush(_defaultFloatPoints, (WrapMode)int.MaxValue)); 98using PathGradientBrush brush = new(path); 106AssertExtensions.Throws<ArgumentNullException>("path", () => new PathGradientBrush((GraphicsPath)null)); 113Assert.Throws<OutOfMemoryException>(() => new PathGradientBrush(path)); 115Assert.Throws<OutOfMemoryException>(() => new PathGradientBrush(path)); 122using PathGradientBrush brush = new(path); 131PathGradientBrush brush = new(_defaultFloatPoints); 140using PathGradientBrush brush = new(_defaultFloatPoints); 151PathGradientBrush brush = new(_defaultFloatPoints); 164using PathGradientBrush brush = new(_defaultFloatPoints); 177using PathGradientBrush brush = new(_defaultFloatPoints); 189PathGradientBrush brush = new(_defaultFloatPoints); 205using PathGradientBrush brush = new(points); 212using PathGradientBrush brush = new(_defaultFloatPoints); 222using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 237PathGradientBrush brush = new(_defaultFloatPoints); 256using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 275using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 289PathGradientBrush brush = new(_defaultFloatPoints); 308using PathGradientBrush brush = new(_defaultFloatPoints); 317using PathGradientBrush brush = new(_defaultFloatPoints); 324using PathGradientBrush brush = new(_defaultFloatPoints); 333using PathGradientBrush brush = new(_defaultFloatPoints); 346using PathGradientBrush brush = new(_defaultFloatPoints); 378using PathGradientBrush brush = new(_defaultFloatPoints); 415PathGradientBrush brush = new(_defaultFloatPoints); 427using PathGradientBrush brush = new(_defaultFloatPoints); 437using PathGradientBrush brush = new(_defaultFloatPoints); 449using PathGradientBrush brush = new(_defaultFloatPoints); 475using PathGradientBrush brush = new(_defaultFloatPoints); 499PathGradientBrush brush = new(_defaultFloatPoints); 511using PathGradientBrush brush = new(_defaultFloatPoints); 521using PathGradientBrush brush = new(_defaultFloatPoints); 532using PathGradientBrush brush = new(_defaultFloatPoints); 548using PathGradientBrush brush = new(_defaultFloatPoints); 565PathGradientBrush brush = new(_defaultFloatPoints); 574using PathGradientBrush brush = new(_defaultFloatPoints); 581using PathGradientBrush brush = new(_defaultFloatPoints); 592using PathGradientBrush brush = new(_defaultFloatPoints); 600using PathGradientBrush brush = new(_defaultFloatPoints); 607using PathGradientBrush brush = new(_defaultFloatPoints); 615using PathGradientBrush brush = new(_defaultFloatPoints); 623using PathGradientBrush brush = new(_defaultFloatPoints); 631using PathGradientBrush brush = new(_defaultFloatPoints); 642using PathGradientBrush brush = new(_defaultFloatPoints); 651PathGradientBrush brush = new(_defaultFloatPoints); 660using PathGradientBrush brush = new(_defaultFloatPoints); 667using PathGradientBrush brush = new(_defaultFloatPoints); 675using PathGradientBrush brush = new(_defaultFloatPoints); 688PathGradientBrush brush = new(_defaultFloatPoints); 697using PathGradientBrush brush = new(_defaultFloatPoints); 710using PathGradientBrush brush = new(_defaultFloatPoints); 722PathGradientBrush brush = new(_defaultFloatPoints); 731using PathGradientBrush brush = new(_defaultFloatPoints); 739using PathGradientBrush brush = new(_defaultFloatPoints); 753using PathGradientBrush brush = new(_defaultFloatPoints); 761using PathGradientBrush brush = new(_defaultFloatPoints); 770using PathGradientBrush brush = new(_defaultFloatPoints); 782using PathGradientBrush brush = new(_defaultFloatPoints); 792PathGradientBrush brush = new(_defaultFloatPoints); 801using PathGradientBrush brush = new(_defaultFloatPoints); 808using PathGradientBrush brush = new(_defaultFloatPoints); 832using PathGradientBrush brush = new(_defaultFloatPoints); 842PathGradientBrush brush = new(_defaultFloatPoints); 851using PathGradientBrush brush = new(_defaultFloatPoints); 858using PathGradientBrush brush = new(_defaultFloatPoints); 873using PathGradientBrush brush = new(_defaultFloatPoints); 883PathGradientBrush brush = new(_defaultFloatPoints); 892using PathGradientBrush brush = new(_defaultFloatPoints); 901using PathGradientBrush brush = new(_defaultFloatPoints); 909PathGradientBrush brush = new(_defaultFloatPoints); 919using PathGradientBrush brush = new(_defaultFloatPoints); 927PathGradientBrush brush = new(_defaultFloatPoints); 936using PathGradientBrush brush = new(_defaultFloatPoints);
78 references to PathGradientBrush
System.Drawing (1)
System.Drawing.cs (1)
46[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Drawing.Drawing2D.PathGradientBrush))]
System.Drawing.Common.Tests (77)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (77)
37using PathGradientBrush bi = new(_defaultIntPoints); 38using PathGradientBrush bf = new(_defaultFloatPoints); 58using PathGradientBrush brushInt = new(_defaultIntPoints, wrapMode); 59using PathGradientBrush brushFloat = new(_defaultFloatPoints, wrapMode); 98using PathGradientBrush brush = new(path); 122using PathGradientBrush brush = new(path); 123using PathGradientBrush clone = Assert.IsType<PathGradientBrush>(brush.Clone()); 131PathGradientBrush brush = new(_defaultFloatPoints); 140using PathGradientBrush brush = new(_defaultFloatPoints); 151PathGradientBrush brush = new(_defaultFloatPoints); 164using PathGradientBrush brush = new(_defaultFloatPoints); 177using PathGradientBrush brush = new(_defaultFloatPoints); 189PathGradientBrush brush = new(_defaultFloatPoints); 205using PathGradientBrush brush = new(points); 212using PathGradientBrush brush = new(_defaultFloatPoints); 222using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 237PathGradientBrush brush = new(_defaultFloatPoints); 256using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 275using PathGradientBrush brush = new(_defaultFloatPoints, WrapMode.TileFlipXY); 289PathGradientBrush brush = new(_defaultFloatPoints); 308using PathGradientBrush brush = new(_defaultFloatPoints); 317using PathGradientBrush brush = new(_defaultFloatPoints); 324using PathGradientBrush brush = new(_defaultFloatPoints); 333using PathGradientBrush brush = new(_defaultFloatPoints); 346using PathGradientBrush brush = new(_defaultFloatPoints); 378using PathGradientBrush brush = new(_defaultFloatPoints); 415PathGradientBrush brush = new(_defaultFloatPoints); 427using PathGradientBrush brush = new(_defaultFloatPoints); 437using PathGradientBrush brush = new(_defaultFloatPoints); 449using PathGradientBrush brush = new(_defaultFloatPoints); 475using PathGradientBrush brush = new(_defaultFloatPoints); 499PathGradientBrush brush = new(_defaultFloatPoints); 511using PathGradientBrush brush = new(_defaultFloatPoints); 521using PathGradientBrush brush = new(_defaultFloatPoints); 532using PathGradientBrush brush = new(_defaultFloatPoints); 548using PathGradientBrush brush = new(_defaultFloatPoints); 565PathGradientBrush brush = new(_defaultFloatPoints); 574using PathGradientBrush brush = new(_defaultFloatPoints); 581using PathGradientBrush brush = new(_defaultFloatPoints); 592using PathGradientBrush brush = new(_defaultFloatPoints); 600using PathGradientBrush brush = new(_defaultFloatPoints); 607using PathGradientBrush brush = new(_defaultFloatPoints); 615using PathGradientBrush brush = new(_defaultFloatPoints); 623using PathGradientBrush brush = new(_defaultFloatPoints); 631using PathGradientBrush brush = new(_defaultFloatPoints); 642using PathGradientBrush brush = new(_defaultFloatPoints); 651PathGradientBrush brush = new(_defaultFloatPoints); 660using PathGradientBrush brush = new(_defaultFloatPoints); 667using PathGradientBrush brush = new(_defaultFloatPoints); 675using PathGradientBrush brush = new(_defaultFloatPoints); 688PathGradientBrush brush = new(_defaultFloatPoints); 697using PathGradientBrush brush = new(_defaultFloatPoints); 710using PathGradientBrush brush = new(_defaultFloatPoints); 722PathGradientBrush brush = new(_defaultFloatPoints); 731using PathGradientBrush brush = new(_defaultFloatPoints); 739using PathGradientBrush brush = new(_defaultFloatPoints); 753using PathGradientBrush brush = new(_defaultFloatPoints); 761using PathGradientBrush brush = new(_defaultFloatPoints); 770using PathGradientBrush brush = new(_defaultFloatPoints); 782using PathGradientBrush brush = new(_defaultFloatPoints); 792PathGradientBrush brush = new(_defaultFloatPoints); 801using PathGradientBrush brush = new(_defaultFloatPoints); 808using PathGradientBrush brush = new(_defaultFloatPoints); 832using PathGradientBrush brush = new(_defaultFloatPoints); 842PathGradientBrush brush = new(_defaultFloatPoints); 851using PathGradientBrush brush = new(_defaultFloatPoints); 858using PathGradientBrush brush = new(_defaultFloatPoints); 873using PathGradientBrush brush = new(_defaultFloatPoints); 883PathGradientBrush brush = new(_defaultFloatPoints); 892using PathGradientBrush brush = new(_defaultFloatPoints); 901using PathGradientBrush brush = new(_defaultFloatPoints); 909PathGradientBrush brush = new(_defaultFloatPoints); 919using PathGradientBrush brush = new(_defaultFloatPoints); 927PathGradientBrush brush = new(_defaultFloatPoints); 936using PathGradientBrush brush = new(_defaultFloatPoints); 940private void AssertDefaults(PathGradientBrush brush)