2 writes to WrapMode
System.Drawing.Common.Tests (2)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (2)
920
brush.
WrapMode
= wrapMode;
937
Assert.ThrowsAny<ArgumentException>(() => brush.
WrapMode
= (WrapMode)int.MinValue);
8 references to WrapMode
System.Drawing.Common.Tests (8)
System\Drawing\Drawing2D\PathGradientBrushTests.cs (8)
40
Assert.Equal(WrapMode.Clamp, bi.
WrapMode
);
42
Assert.Equal(WrapMode.Clamp, bf.
WrapMode
);
61
Assert.Equal(wrapMode, brushInt.
WrapMode
);
63
Assert.Equal(wrapMode, brushFloat.
WrapMode
);
100
Assert.Equal(WrapMode.Clamp, brush.
WrapMode
);
125
Assert.Equal(WrapMode.Clamp, clone.
WrapMode
);
921
Assert.Equal(wrapMode, brush.
WrapMode
);
930
AssertExtensions.Throws<ArgumentException>(null, () => brush.
WrapMode
);