DrawInterface.cs 906 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Drawing;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. namespace PaintDotNet.Annotation.ImageCollect
  8. {
  9. public enum LockType
  10. {
  11. NULL = 0,
  12. AREA = 1,
  13. SIZE = 2
  14. }
  15. public interface DrawInterface
  16. {
  17. /// <summary>
  18. /// 获取拼图区域划分的网格数
  19. /// </summary>
  20. /// <returns></returns>
  21. int[] GetTiles();
  22. /// <summary>
  23. /// 获取拼图区域面积
  24. /// </summary>
  25. /// <returns></returns>
  26. double GetArea();
  27. void Lock(LockType lockType);
  28. List<Dictionary<int, object>> GetViewPoints();
  29. void DeletePoint(int index);
  30. void SetZAxisScan(int startStep, int stopStep, int times, int track, int pIndex);
  31. Dictionary<int, object> GetZAxisScan(int index);
  32. }
  33. }