12 references to Inset
aspire-tray (12)
src\Aspire.Tray\Common\TrayPanel.cs (11)
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));
1117
TrayPanelGlyphs.AddStatus(commands, PanelStatusGlyph.Busy, art.
Inset
(2, 2), palette);
1230
TrayPanelGlyphs.AddIcon(commands, icon, bounds.
Inset
(6, 6), color);
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));
1420
TrayPanelGlyphs.AddIcon(commands, PanelIcon.ChevronLeft, back.
Inset
(6, 6), _hover == backKey ? palette.TextPrimary : palette.TextSecondary);
1496
TrayPanelGlyphs.AddIcon(commands, icon, bounds.
Inset
(6, 6), _hover == key ? palette.TextPrimary : palette.TextSecondary);
src\Aspire.Tray\Common\TrayPanelGlyphs.cs (1)
215
commands.Add(new StrokePathCommand(PanelPath.RoundedRect(track.
Inset
(0.5, 0.5), 8.5).Transform(scale, bounds.X, bounds.Y),