123456789101112131415161718192021222324252627282930313233343536373839404142 |
- using System;
- using System.Collections.Generic;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace PaintDotNet.Annotation.ImageCollect
- {
- public enum LockType
- {
- NULL = 0,
- AREA = 1,
- SIZE = 2
- }
- public interface DrawInterface
- {
- /// <summary>
- /// 获取拼图区域划分的网格数
- /// </summary>
- /// <returns></returns>
- int[] GetTiles();
- /// <summary>
- /// 获取拼图区域面积
- /// </summary>
- /// <returns></returns>
- double GetArea();
- void Lock(LockType lockType);
- List<Dictionary<int, object>> GetViewPoints();
- void DeletePoint(int index);
- void SetZAxisScan(int startStep, int stopStep, int times, int track, int pIndex);
- Dictionary<int, object> GetZAxisScan(int index);
- }
- }
|