11 instantiations of StrokePathCommand
aspire-tray (11)
src\Aspire.Tray\Common\TrayPanel.cs (7)
1022
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(panel.Inset(0.5, 0.5), CornerRadius - 0.5), palette.Border, 1));
1038
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(focused.Bounds.Inset(-1, -1), 7), palette.Focus, 2));
1205
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(banner.Inset(0.5, 0.5), 5.5), palette.Border, 1));
1406
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1));
1478
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1));
1508
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(cancelBounds.Inset(0.5, 0.5), 5.5), palette.Border, 1));
1521
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(acceptBounds.Inset(0.5, 0.5), 5.5), palette.Border, 1));
src\Aspire.Tray\Common\TrayPanelGlyphs.cs (4)
94
=> commands.Add(new
StrokePathCommand
(path.Transform(scale, bounds.X, bounds.Y), color, width * scale));
196
=> commands.Add(new
StrokePathCommand
(path.Transform(scale, bounds.X, bounds.Y), color, width * scale));
215
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(track.Inset(0.5, 0.5), 8.5).Transform(scale, bounds.X, bounds.Y),
222
commands.Add(new
StrokePathCommand
(PanelPath.Circle(9, 9, 6.5).Transform(scale, bounds.X, bounds.Y),
2 references to StrokePathCommand
aspire-tray (2)
TrayApplication.Panel.cs (2)
506
case
StrokePathCommand
stroke:
531
else if (shape is
StrokePathCommand
fallbackStroke)