Brush pattern in c# wpf (xaml - vector)
问题 I need to draw on canvas using a few brush patterns like "Paint" in Windows OS. I need "oil brush" and "pastel". As I understand, it's possible via VisualBrush.Visual (Canvas with vector paths). <UserControl x:Class="DrawingToolbar.DTBrushParamsContainer" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression