1234567891011121314151617181920212223242526272829303132333435363738394041 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Uni_Trend.MSO7000X.Touch
- {
- public interface ITouchAble
- {
- /// <summary>
- /// 参数1:触点的X坐标;
- /// 参数2:触点的Y坐标;
- /// </summary>
- event Action<int, int> TouchDown;
- /// <summary>
- /// 参数1:触点当前的X坐标;
- /// 参数2:触点当前的Y坐标;
- /// 参数3:触点此刻移动的X距离;
- /// 参数4:触点此刻移动的Y距离;
- /// </summary>
- public event Action<int, int, int, int> TouchMove;
- /// <summary>
- /// 参数1:触点的X坐标;
- /// 参数2:触点的Y坐标;
- /// </summary>
- event Action<int, int> TouchUp;
- /// <summary>
- /// 参数:旋转的角度;
- /// </summary>
- event Action<float> TouchRotation;
- /// <summary>
- /// 参数:缩放的倍率;
- /// </summary>
- event Action<float, ScaleDirection> TouchScale;
- }
- }
|