8 references to IsVisible
System.Drawing.Common.Tests (7)
System\Drawing\RegionTests.cs (7)
1397
Assert.Equal(expected, region.
IsVisible
(point.X, point.Y, s_graphic));
1398
Assert.Equal(expected, region.
IsVisible
(point.X, point.Y, disposedGraphics));
1399
Assert.Equal(expected, region.
IsVisible
(point.X, point.Y, null));
1401
Assert.Equal(expected, region.
IsVisible
(point.X, point.Y, s_graphic));
1402
Assert.Equal(expected, region.
IsVisible
(point.X, point.Y, disposedGraphics));
1403
Assert.Equal(expected, region.
IsVisible
(point.X, point.Y, null));
1431
AssertExtensions.Throws<ArgumentException>(null, () => disposedRegion.
IsVisible
(1, 2, s_graphic));
System.Windows.Forms (1)
System\Windows\Forms\Controls\Labels\LinkLabel.cs (1)
678
if (link.VisualRegion is not null && link.VisualRegion.
IsVisible
(x, y, g))