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