Nexus/Library/PackageCache/com.unity.2d.psdimporter@9abe0f7cac7e/Editor/PSDPlugin/PDNWrapper/Document.cs
2026-01-06 17:23:00 +01:00

31 lines
638 B
C#

using System.Collections;
using System.Collections.Generic;
namespace PDNWrapper
{
internal class Document
{
public int width, height;
public Document(int w, int h)
{
width = w;
height = h;
Layers = new List<BitmapLayer>();
}
public void Dispose()
{
foreach (BitmapLayer layer in Layers)
layer.Dispose();
}
public List<BitmapLayer> Layers { get; set; }
public MeasurementUnit DpuUnit { get; set; }
public double DpuX { get; set; }
public double DpuY { get; set; }
}
}