Repo-wide sweep with the pinned CSharpier 1.3.0 tool. Whitespace and line-wrapping only; OpenNest.Engine.Tests (109) and OpenNest.IO.Tests pass after reformat, full solution builds 0 errors. Added .csharpierignore so csproj/config XML keeps its existing layout (CSharpier's XML wrapping churns attributes with zero benefit). Formatting is now enforceable: dotnet csharpier check . passes.
32 lines
586 B
C#
32 lines
586 B
C#
using System.Drawing;
|
|
|
|
namespace OpenNest.Geometry
|
|
{
|
|
public class Layer
|
|
{
|
|
public static readonly Layer Default = new Layer("0")
|
|
{
|
|
Color = Color.White,
|
|
IsVisible = true,
|
|
};
|
|
|
|
public Layer(string name)
|
|
{
|
|
Name = name;
|
|
}
|
|
|
|
public string Name { get; set; }
|
|
|
|
public bool IsVisible { get; set; }
|
|
|
|
public Color Color { get; set; }
|
|
|
|
public string LineTypeName { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return Name;
|
|
}
|
|
}
|
|
}
|