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