improving image editor

This commit is contained in:
LarsBrubaker 2021-07-25 18:22:40 -07:00
parent 40abf0311e
commit 89890a4e94
5 changed files with 215 additions and 310 deletions

View file

@ -36,7 +36,6 @@ namespace MatterHackers.MatterControl.DesignTools
[AttributeUsage(AttributeTargets.Property)]
public class ImageDisplayAttribute : Attribute
{
public bool AddGoogleSearch { get; set; }
public bool Stretch { get; set; }
/// <summary>
@ -54,7 +53,7 @@ namespace MatterHackers.MatterControl.DesignTools
case 2:
return new BorderDouble(Margin[0], Margin[1]);
case 4:
return new BorderDouble(Margin[0], Margin[1], Margin[2], Margin[3]);
@ -63,4 +62,9 @@ namespace MatterHackers.MatterControl.DesignTools
return new BorderDouble();
}
}
[AttributeUsage(AttributeTargets.Property)]
public class GoogleSearchAttribute : Attribute
{
}
}