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