6 references to new
System.Drawing.Common (1)
System\Drawing\TextureBrush.cs (1)
56
:
this
(image, wrapMode, (RectangleF)dstRect)
System.Drawing.Common.Tests (5)
System\Drawing\TextureBrushTests.cs (5)
167
using TextureBrush brush =
new
(image, wrapMode, (RectangleF)rectangle);
248
AssertExtensions.Throws<ArgumentNullException>("image", () => new
TextureBrush
(null, WrapMode.Tile, RectangleF.Empty));
264
AssertExtensions.Throws<ArgumentException>(null, () => new
TextureBrush
(image, WrapMode.Tile, RectangleF.Empty));
275
Assert.ThrowsAny<ArgumentException>(() => new
TextureBrush
(image, wrapMode, RectangleF.Empty));
295
Assert.Throws<ExternalException>(() => new
TextureBrush
(image, WrapMode.Tile, (RectangleF)rectangle));