4 writes to WrapMode
System.Drawing.Common.Tests (4)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (4)
606using LinearGradientBrush brush = new(new Rectangle(1, 2, 3, 4), Color.Plum, Color.Red, 45, true) { WrapMode = wrapMode }; 616Assert.ThrowsAny<ArgumentException>(() => brush.WrapMode = wrapMode); 623AssertExtensions.Throws<ArgumentException>(null, () => brush.WrapMode = WrapMode.Clamp); 633AssertExtensions.Throws<ArgumentException>(null, () => brush.WrapMode = WrapMode.TileFlipX);
10 references to WrapMode
System.Drawing.Common.Tests (10)
System\Drawing\Drawing2D\LinearGradientBrushTests.cs (10)
32Assert.Equal(WrapMode.Tile, brush.WrapMode); 59Assert.Equal(WrapMode.Tile, brush.WrapMode); 93Assert.Equal(WrapMode.Tile, brush.WrapMode); 110Assert.Equal(WrapMode.Tile, brush.WrapMode); 136Assert.Equal(WrapMode.Tile, brush.WrapMode); 153Assert.Equal(WrapMode.Tile, brush.WrapMode); 179Assert.Equal(WrapMode.Tile, brush.WrapMode); 196Assert.Equal(WrapMode.Tile, brush.WrapMode); 607Assert.Equal(wrapMode, brush.WrapMode); 632AssertExtensions.Throws<ArgumentException>(null, () => brush.WrapMode);