3 references to new
System.Drawing.Common.Tests (3)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (3)
58
using PathGradientBrush brushInt =
new
(_defaultIntPoints, wrapMode);
79
Assert.Throws<ArgumentException>(() => new
PathGradientBrush
(new Point[pointsLength], WrapMode.Clamp));
88
new
PathGradientBrush
(_defaultIntPoints, (WrapMode)int.MaxValue));