pcut_uwp/PCUT/DeepNestLib.Core/RectangleSheet.cs

16 lines
375 B
C#
Raw Normal View History

2024-08-21 16:02:56 +00:00
namespace DeepNestLib
{
public class RectangleSheet : Sheet
{
public void Rebuild()
{
Points = new SvgPoint[] { };
AddPoint(new SvgPoint(x, y));
AddPoint(new SvgPoint(x + Width, y));
AddPoint(new SvgPoint(x + Width, y + Height));
AddPoint(new SvgPoint(x, y + Height));
}
}
}