some improvements
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user