4 references to IsVisible
System.Drawing.Common.Tests (4)
System\Drawing\RegionTests.cs (4)
1338Assert.Equal(expected, region.IsVisible((RectangleF)rectangle, s_graphic)); 1339Assert.Equal(expected, region.IsVisible((RectangleF)rectangle, disposedGraphics)); 1340Assert.Equal(expected, region.IsVisible((RectangleF)rectangle, null)); 1429AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.IsVisible(new RectangleF(1, 2, 3, 4), s_graphic));