some improvements

This commit is contained in:
2024-06-10 13:04:53 +02:00
parent 3cd0f8dce8
commit df8266fc40
18 changed files with 565 additions and 92 deletions

View File

@@ -6,11 +6,6 @@ namespace Pilz.UI.Telerik;
public static class Extensions
{
public static Image ToImage(this RadSvgImage svg)
{
return svg?.Document.Draw(svg.Width, svg.Height);
}
public static void ApplyColor(this RadSvgImage svg, Color color)
{
svg.Document.Fill = new SvgColourServer(color);