ImageDimension.cs 543 B

123456789101112131415161718192021222324252627
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace SketchAssistantWPF
  7. {
  8. public class ImageDimension
  9. {
  10. public int Width { get; set; }
  11. public int Height { get; set; }
  12. public ImageDimension(int width, int height)
  13. {
  14. Width = width;
  15. Height = height;
  16. }
  17. public void ChangeDimension(int width, int height)
  18. {
  19. Width = width;
  20. Height = height;
  21. }
  22. }
  23. }