public static class GestureDescription.Builder
extends Object
java.lang.Object | |
android.accessibilityservice.GestureDescription.Builder |
建设者为 GestureDescription
Public constructors |
|
---|---|
GestureDescription.Builder() |
公共方法(Public methods) |
|
---|---|
GestureDescription.Builder |
addStroke(GestureDescription.StrokeDescription strokeDescription) 为手势描述添加描边。 |
GestureDescription |
build() |
继承方法(Inherited methods) |
|
---|---|
![]() java.lang.Object
|
GestureDescription.Builder addStroke (GestureDescription.StrokeDescription strokeDescription)
为手势描述添加描边。 可以将多达getMaxStrokeCount()
条路径添加到手势,并且总手势持续时间(最早路径开始时间到最近路径结束时间)不得超过getMaxGestureDuration()
。
参数(Parameters) | |
---|---|
strokeDescription |
GestureDescription.StrokeDescription : the stroke to add. |
返回(Returns) | |
---|---|
GestureDescription.Builder |
this |