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);

View File

@@ -6,7 +6,7 @@
<RootNamespace>Pilz.UI.Telerik</RootNamespace>
</PropertyGroup>
<PropertyGroup>
<Version>2.0.1</Version>
<Version>2.0.2</Version>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="8.0.4" />