microsoft / microsoft-ui-xaml

Windows UI Library: the latest Windows 10 native controls and Fluent styles for your applications
MIT License
6.36k stars 678 forks source link

Colour manipulation in xaml shapes for Universal Windows Platform #5328

Open vsfeedback opened 3 years ago

vsfeedback commented 3 years ago

This issue has been moved from a ticket on Developer Community.


Like the title says I think there should be a way to manipulate the colour effects of xaml shapes in the Universal Windows Platform (UWP) for example blending effects between shapes and other type of effects between the shapes.

I wanted to create a heatmap using the MapControl in UWP. I wanted to create it entirely using a mixture of xaml and c# code but could not find the tooling I needed to create the heatmap image on the map. I tried using win2d to create the image but incorporating the canvas into the MapControl has not worked. The closest I got was creating ellipses with a radial gradient and adding them as children to the MapControl, but the colours of each point do not merge together hence this post.

Honestly I believe there should be more in terms of creating graphics and such in the Universal Windows platform because it is very difficult to find tools to create graphics. Furthermore, from what I have seen you always need a canvas to design and change graphics in detail which I think is very limiting and not flexible. I think either adding support for System.Drawing or creating something similar to it would solve this issue nicely.


Original Comments

Feedback Bot on 6/22/2021, 07:31 PM:

Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.

StephenLPeters commented 3 years ago

@codendone FYI