creating-graphics-in-code

Installation
SKILL.md

Creating WPF Graphics in Code

Programmatically create shapes and geometry for dynamic graphics.

1. Shape Factory Pattern

namespace MyApp.Graphics;

using System.Windows;
using System.Windows.Media;
using System.Windows.Shapes;

public static class ShapeFactory
{
    /// <summary>
    /// Create circular marker
    /// </summary>
    public static Ellipse CreateCircle(double size, Brush fill, Brush? stroke = null)
Related skills

More from christian289/dotnet-with-claudecode

Installs
3
GitHub Stars
31
First Seen
Feb 28, 2026