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