11 instantiations of StrokePathCommand
aspire-tray (11)
src\Aspire.Tray\Common\TrayPanel.cs (7)
919
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(panel.Inset(0.5, 0.5), CornerRadius - 0.5), palette.Border, 1));
935
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(focused.Bounds.Inset(-1, -1), 7), palette.Focus, 2));
1096
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(banner.Inset(0.5, 0.5), 5.5), palette.Border, 1));
1293
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1));
1365
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(card.Inset(0.5, 0.5), 7.5), palette.Border, 1));
1395
commands.Add(new
StrokePathCommand
(PanelPath.RoundedRect(cancelBounds.Inset(0.5, 0.5), 5.5), palette.Border, 1));
1408
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)
490
case
StrokePathCommand
stroke:
515
else if (shape is
StrokePathCommand
fallbackStroke)