25 references to RoundedRect
aspire-tray (25)
src\Aspire.Tray\Common\TrayPanel.cs (19)
838commands.Add(new FillPathCommand(PanelPath.RoundedRect(panel, CornerRadius), palette.Background)); 915commands.Add(new FillPathCommand(PanelPath.RoundedRect(new(Width - 7, thumbY, 4, thumb), 2), palette.TextTertiary.WithAlpha(0.4))); 919commands.Add(new StrokePathCommand(PanelPath.RoundedRect(panel.Inset(0.5, 0.5), CornerRadius - 0.5), palette.Border, 1)); 935commands.Add(new StrokePathCommand(PanelPath.RoundedRect(focused.Bounds.Inset(-1, -1), 7), palette.Focus, 2)); 1093commands.Add(new FillPathCommand(PanelPath.RoundedRect(banner, 6), palette.Banner)); 1096commands.Add(new StrokePathCommand(PanelPath.RoundedRect(banner.Inset(0.5, 0.5), 5.5), palette.Border, 1)); 1182commands.Add(new FillPathCommand(PanelPath.RoundedRect(row, 6), palette.Hover)); 1221commands.Add(new FillPathCommand(PanelPath.RoundedRect(bounds, 6), palette.Pressed)); 1292commands.Add(new FillPathCommand(PanelPath.RoundedRect(card, 8), palette.Gutter)); 1293commands.Add(new StrokePathCommand(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1)); 1364commands.Add(new FillPathCommand(PanelPath.RoundedRect(card, 8), palette.Gutter)); 1365commands.Add(new StrokePathCommand(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1)); 1393commands.Add(new FillPathCommand(PanelPath.RoundedRect(cancelBounds, 6), palette.Background)); 1395commands.Add(new StrokePathCommand(PanelPath.RoundedRect(cancelBounds.Inset(0.5, 0.5), 5.5), palette.Border, 1)); 1399commands.Add(new FillPathCommand(PanelPath.RoundedRect(acceptBounds, 6), palette.DangerFill)); 1403commands.Add(new FillPathCommand(PanelPath.RoundedRect(acceptBounds, 6), 1408commands.Add(new StrokePathCommand(PanelPath.RoundedRect(acceptBounds.Inset(0.5, 0.5), 5.5), palette.Border, 1)); 1493commands.Add(new FillPathCommand(PanelPath.RoundedRect(bounds, 6), palette.Pressed)); 1508commands.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),