7 references to CornerRadius
aspire-tray (7)
src\Aspire.Tray\Common\TrayPanel.cs (6)
838commands.Add(new FillPathCommand(PanelPath.RoundedRect(panel, CornerRadius), palette.Background)); 839commands.Add(new FillPathCommand(PanelPath.RoundedRect(footer, 0, 0, CornerRadius, CornerRadius), palette.Gutter)); 843commands.Add(new FillPathCommand(PanelPath.RoundedRect(new(0, 0, Width, HeaderHeight), CornerRadius, CornerRadius, 0, 0), palette.Gutter)); 919commands.Add(new StrokePathCommand(PanelPath.RoundedRect(panel.Inset(0.5, 0.5), CornerRadius - 0.5), palette.Border, 1));
TrayApplication.Panel.cs (1)
217var diameter = (int)Math.Round(2 * TrayPanel.CornerRadius * scale);