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