fixes & version bump

This commit is contained in:
2024-06-10 13:15:24 +02:00
parent df8266fc40
commit e212f4021a
11 changed files with 29 additions and 16 deletions

View File

@@ -6,6 +6,11 @@ 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);