IImageEditorObject.cs 525 B

1234567891011121314151617181920212223242526
  1. using Avalonia.Controls;
  2. using Avalonia.Controls.Shapes;
  3. using Avalonia.Media;
  4. using System;
  5. using System.Collections.Generic;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. namespace InABox.Avalonia.Components.ImageEditing;
  10. internal interface IImageEditorObject
  11. {
  12. IBrush? PrimaryBrush { get; set; }
  13. void SetActive(bool active);
  14. Control GetControl();
  15. void Update();
  16. }
  17. internal interface IImageEditorStateObject : IImageEditorObject
  18. {
  19. void SetState(ImageEditorState state);
  20. }