22 instantiations of FillPathCommand
aspire-tray (22)
src\Aspire.Tray\Common\TrayPanel.cs (18)
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));
840
commands.Add(new
FillPathCommand
(PanelPath.Rectangle(new(0, footer.Y, Width, 1)), palette.Separator));
843
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(new(0, 0, Width, HeaderHeight), CornerRadius, CornerRadius, 0, 0), palette.Gutter));
844
commands.Add(new
FillPathCommand
(PanelPath.Rectangle(new(0, HeaderHeight - 1, Width, 1)), palette.Separator));
862
commands.Add(new
FillPathCommand
(PanelPath.Rectangle(new(0, _viewport.Y, Width, 1)), palette.Separator));
915
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(new(Width - 7, thumbY, 4, thumb), 2), palette.TextTertiary.WithAlpha(0.4)));
1082
commands.Add(new
FillPathCommand
(PanelPath.Circle(title.Right + 4, statusMiddle, 4), dot));
1093
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(banner, 6), palette.Banner));
1182
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(row, 6), palette.Hover));
1221
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(bounds, 6), palette.Pressed));
1292
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(card, 8), palette.Gutter));
1364
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(card, 8), palette.Gutter));
1393
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(cancelBounds, 6), palette.Background));
1399
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(acceptBounds, 6), palette.DangerFill));
1403
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(acceptBounds, 6),
1493
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(bounds, 6), palette.Pressed));
1508
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(bounds, 6), fill));
src\Aspire.Tray\Common\TrayPanelGlyphs.cs (4)
92
void Fill(PanelPath path, PanelColor color) => commands.Add(new
FillPathCommand
(path.Transform(scale, bounds.X, bounds.Y), color));
194
void Fill(PanelPath path) => commands.Add(new
FillPathCommand
(path.Transform(scale, bounds.X, bounds.Y), color));
210
commands.Add(new
FillPathCommand
(PanelPath.RoundedRect(track, 9).Transform(scale, bounds.X, bounds.Y),
218
commands.Add(new
FillPathCommand
(PanelPath.Circle(on ? 23 : 9, 9, 6.5).Transform(scale, bounds.X, bounds.Y),
2 references to FillPathCommand
aspire-tray (2)
TrayApplication.Panel.cs (2)
487
case
FillPathCommand
fill:
511
if (shape is
FillPathCommand
fallbackFill)