diff options
Diffstat (limited to 'UVtools.Core/Layer/LayerManager.cs')
-rw-r--r-- | UVtools.Core/Layer/LayerManager.cs | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/UVtools.Core/Layer/LayerManager.cs b/UVtools.Core/Layer/LayerManager.cs index a5ec45d..65127c4 100644 --- a/UVtools.Core/Layer/LayerManager.cs +++ b/UVtools.Core/Layer/LayerManager.cs @@ -49,8 +49,14 @@ namespace UVtools.Core } } + /// <summary> + /// Gets the bounding rectangle of the object + /// </summary> private Rectangle _boundingRectangle = Rectangle.Empty; + /// <summary> + /// Gets the bounding rectangle of the object + /// </summary> public Rectangle BoundingRectangle { get => GetBoundingRectangle(); @@ -79,7 +85,7 @@ namespace UVtools.Core } } - public float LayerHeight => Layers[0].PositionZ; + //public float LayerHeight => Layers[0].PositionZ; #endregion @@ -1294,5 +1300,14 @@ namespace UVtools.Core #endregion + + #region Formater + + public override string ToString() + { + return $"{nameof(BoundingRectangle)}: {BoundingRectangle}, {nameof(Count)}: {Count}, {nameof(IsModified)}: {IsModified}"; + } + + #endregion } } |