How to paint a WPF-Shape mathematically?
I want to paint an WPF-Element like a colorwheel, you know from the HSV color space. i dont know how to do this, i havnt found a possibility based on the standard brushes (SolidColorBrush开发者_开发百科, GradientBrush, etc)
How is a (mathematical) painting possible on wpf-shapes?
when you talk about Brushes and Pens you are talking about GDI+ and in GDI+ you have full control on anything since you are basically deciding which pixel to turn on, not so low of course but using lines, polygons and paths.
for a comparison between GDI+ and WPF or simply for some info regarding how to move from the first to the second, check this one: C# Transition between GDI+ and WPF there are some answers with lots of details
精彩评论