3 references to Intersect
aspire-tray (3)
src\Aspire.Tray\Common\TrayPanel.cs (2)
1625var hit = IsChrome(key.Kind) ? bounds : bounds.Intersect(_viewport); 1641_accessible.Add(new(PanelAccessibleKey.For(label), PanelAccessibleRole.Text, text, bounds, chrome ? bounds : bounds.Intersect(_viewport)));
TrayApplication.Panel.cs (1)
543clips.Push((state, clips.Count == 0 ? clip.Bounds : clips.Peek().Bounds.Intersect(clip.Bounds)));