creating-wpf-vector-icons

Solid

Creates scalable vector icons in WPF using PathGeometry and GeometryGroup. Use when building resolution-independent icons, icon buttons, or symbol libraries.

AI & Automation 40 stars 6 forks Updated 6 days ago MIT

Install

View on GitHub

Quality Score: 78/100

Stars 20%
54
Recency 20%
100
Frontmatter 20%
40
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# WPF Vector Icons Create scalable, resolution-independent icons using WPF geometry. ## 1. Icon Definition Patterns ### 1.1 PathGeometry Resources ```xml <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <!-- Check mark --> <PathGeometry x:Key="CheckIconGeometry"> M 2,7 L 5,10 L 10,3 </PathGeometry> <!-- Close (X) --> <PathGeometry x:Key="CloseIconGeometry"> M 2,2 L 10,10 M 10,2 L 2,10 </PathGeometry> <!-- Plus --> <PathGeometry x:Key="PlusIconGeometry"> M 6,2 L 6,10 M 2,6 L 10,6 </PathGeometry> <!-- Minus --> <PathGeometry x:Key="MinusIconGeometry"> M 2,6 L 10,6 </PathGeometry> <!-- Arrow right --> <PathGeometry x:Key="ArrowRightIconGeometry"> M 2,6 L 10,6 M 7,3 L 10,6 L 7,9 </PathGeometry> <!-- Search (magnifier) --> <PathGeometry x:Key="SearchIconGeometry"> M 7,7 A 4,4 0 1 1 7,6.99 M 10,10 L 14,14 </PathGeometry> </ResourceDictionary> ``` ### 1.2 GeometryGroup for Complex Icons ```xml <!-- Menu (hamburger) icon --> <GeometryGroup x:Key="MenuIconGeometry"> <RectangleGeometry Rect="0,0,16,2"/> <RectangleGeometry Rect="0,6,16,2"/> <RectangleGeometry Rect="0,12,16,2"/> </GeometryGroup> <!-- Settings (gear) icon --> <GeometryGroup x:Key="SettingsIconGeometry"> <EllipseGeometry Center="8,8" RadiusX="3" RadiusY="3"/> <...

Details

Author
christian289
Repository
christian289/dotnet-with-claudecode
Created
7 months ago
Last Updated
6 days ago
Language
C#
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category