BasicLayer.cs 654 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using PixiEditor.Helpers;
  3. namespace PixiEditor.Models.Layers
  4. {
  5. [Serializable]
  6. public class BasicLayer : NotifyableObject
  7. {
  8. private int height;
  9. private int width;
  10. public int Width
  11. {
  12. get => width;
  13. set
  14. {
  15. width = value;
  16. RaisePropertyChanged("Width");
  17. }
  18. }
  19. public int Height
  20. {
  21. get => height;
  22. set
  23. {
  24. height = value;
  25. RaisePropertyChanged("Height");
  26. }
  27. }
  28. public Guid LayerGuid { get; init; }
  29. }
  30. }