ElinamLLC / SharpVectors

SharpVectors - SVG# Reloaded: SVG DOM and Rendering in C# for the .Net.
https://elinamllc.github.io/SharpVectors/
BSD 3-Clause "New" or "Revised" License
719 stars 136 forks source link

What's the easiest way to change fill #294

Closed kornelijepetak closed 1 month ago

kornelijepetak commented 1 month ago

I am looking for a way to change the fill color of a svg via XAML. Either using SvgViewbox or <Image> with SvgImage converter.

The SVG file contains the <path> element with no fill defined.

Is there an easy non-code-behind way to achieve this?

paulushub commented 1 month ago

@kornelijepetak Please can you post a sample SVG. Sometimes it is easier that way, sorry. Also, are you the one creating them? or what control do you have on the source of the SVG?