Tool.cs 451 B

12345678910111213141516
  1. using PixiEditor.Models.Layers;
  2. using PixiEditor.Models.Position;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.Text;
  6. using System.Windows.Media;
  7. namespace PixiEditor.Models.Tools
  8. {
  9. public abstract class Tool
  10. {
  11. public abstract BitmapPixelChanges Use(Layer layer, Coordinates[] pixels, Color color, int toolSize);
  12. public abstract ToolType ToolType { get; }
  13. public bool ExecutesItself = false;
  14. }
  15. }