BitmapPixelChanges.cs 495 B

12345678910111213141516171819
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Windows.Media;
  5. namespace PixiEditorDotNetCore3.Models.Tools
  6. {
  7. public struct BitmapPixelChanges
  8. {
  9. public Coordinates[] ChangedCoordinates { get; set; }
  10. public Color PixelsColor { get; set; }
  11. public BitmapPixelChanges(Coordinates[] changedCoordinates, Color color)
  12. {
  13. ChangedCoordinates = changedCoordinates;
  14. PixelsColor = color;
  15. }
  16. }
  17. }