26 references to RoundedRect
Aspire.Tray.Tests (26)
src\Aspire.Tray\Common\TrayPanel.cs (19)
815commands.Add(new FillPathCommand(PanelPath.RoundedRect(panel, CornerRadius), palette.Background)); 892commands.Add(new FillPathCommand(PanelPath.RoundedRect(new(Width - 7, thumbY, 4, thumb), 2), palette.TextTertiary.WithAlpha(0.4))); 896commands.Add(new StrokePathCommand(PanelPath.RoundedRect(panel.Inset(0.5, 0.5), CornerRadius - 0.5), palette.Border, 1)); 912commands.Add(new StrokePathCommand(PanelPath.RoundedRect(focused.Bounds.Inset(-1, -1), 7), palette.Focus, 2)); 946commands.Add(new FillPathCommand(PanelPath.RoundedRect(banner, 6), palette.Banner)); 949commands.Add(new StrokePathCommand(PanelPath.RoundedRect(banner.Inset(0.5, 0.5), 5.5), palette.Border, 1)); 1034commands.Add(new FillPathCommand(PanelPath.RoundedRect(row, 6), palette.Hover)); 1073commands.Add(new FillPathCommand(PanelPath.RoundedRect(bounds, 6), palette.Pressed)); 1144commands.Add(new FillPathCommand(PanelPath.RoundedRect(card, 8), palette.Gutter)); 1145commands.Add(new StrokePathCommand(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1)); 1216commands.Add(new FillPathCommand(PanelPath.RoundedRect(card, 8), palette.Gutter)); 1217commands.Add(new StrokePathCommand(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1)); 1245commands.Add(new FillPathCommand(PanelPath.RoundedRect(cancelBounds, 6), palette.Background)); 1247commands.Add(new StrokePathCommand(PanelPath.RoundedRect(cancelBounds.Inset(0.5, 0.5), 5.5), palette.Border, 1)); 1251commands.Add(new FillPathCommand(PanelPath.RoundedRect(acceptBounds, 6), palette.DangerFill)); 1255commands.Add(new FillPathCommand(PanelPath.RoundedRect(acceptBounds, 6), 1260commands.Add(new StrokePathCommand(PanelPath.RoundedRect(acceptBounds.Inset(0.5, 0.5), 5.5), palette.Border, 1)); 1344commands.Add(new FillPathCommand(PanelPath.RoundedRect(bounds, 6), palette.Pressed)); 1359commands.Add(new FillPathCommand(PanelPath.RoundedRect(bounds, 6), fill));
src\Aspire.Tray\Common\TrayPanelGlyphs.cs (6)
81Fill(PanelPath.RoundedRect(new(7, 7, 6, 6), 1.4), palette.Neutral); 112Fill(PanelPath.RoundedRect(new(4.25, 4.25, 7.5, 7.5), 1.5)); 156Stroke(PanelPath.RoundedRect(new(2.25, 3, 11.5, 10), 1.75), 1.4); 167Stroke(PanelPath.RoundedRect(new(5.75, 5.75, 7.5, 7.5), 1.5), 1.4); 210commands.Add(new FillPathCommand(PanelPath.RoundedRect(track, 9).Transform(scale, bounds.X, bounds.Y), 215commands.Add(new StrokePathCommand(PanelPath.RoundedRect(track.Inset(0.5, 0.5), 8.5).Transform(scale, bounds.X, bounds.Y),
TrayPanelTests.cs (1)
951var path = PanelPath.RoundedRect(rect, 6);