类: StrokeDescription
约 145 字小于 1 分钟
accessibility.StrokeDescription
手势描述
Gesture description
目录
Constructors
属性
方法
Constructors
constructor
• new StrokeDescription(points
, duration
, delay?
)
构造手势描述
参数
名称 | 类型 | 描述 |
---|---|---|
value | Point[] | 路径,由点的数组构成。 |
value | number | 滑动时长,单位毫秒。 |
value | number | 滑动开始延迟,单位毫秒。 |
属性
points
• Readonly
points: Point[]
路径,由点的数组构成。
duration
• Readonly
duration: number
滑动时长,单位毫秒。
delay
• Readonly
ddelay: number
滑动开始延迟,单位毫秒。
方法
toAndroidStrokeDescription
▸ toAndroidStrokeDescription()