Files
OpenNest/OpenNest.Core/Geometry/Layer.cs
T
aj aec0523062 style: apply CSharpier formatting to all C# sources
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.
2026-09-20 16:41:50 -04:00

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;
}
}
}