Tool.cs 490 B

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