improving image editor
This commit is contained in:
parent
40abf0311e
commit
89890a4e94
5 changed files with 215 additions and 310 deletions
|
|
@ -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
|
||||
{
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue