public class GesturePathDefine extends Object
SystemCapability.Accessibility#ABILITY| 构造器 | 说明 |
|---|---|
GesturePathDefine() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
int |
getDurationTime() |
Obtains the duration in which this gesture path continues.
|
GesturePathPositionDefine |
getEndPosition() |
Obtains the end position of this gesture path.
|
int |
getMaxStrokeDuration() |
Obtains the duration for completing the maximum number of gesture strokes.
|
int |
getMaxStrokes() |
Obtains the maximum number of strokes in this gesture path.
|
GesturePathPositionDefine |
getStartPosition() |
Obtains the start position of this gesture path.
|
void |
setDurationTime(int durationTime) |
Sets the duration for this gesture path to continue.
|
void |
setEndPosition(GesturePathPositionDefine endPosition) |
Sets the end position of this gesture path.
|
void |
setStartPosition(GesturePathPositionDefine startPosition) |
Sets the start position of this gesture path.
|
public GesturePathPositionDefine getStartPosition()
public void setStartPosition(GesturePathPositionDefine startPosition)
startPosition - Indicates the start position to set.public GesturePathPositionDefine getEndPosition()
public void setEndPosition(GesturePathPositionDefine endPosition)
endPosition - Indicates the end position to set.public int getDurationTime()
public void setDurationTime(int durationTime)
durationTime - Indicates the duration to set.public int getMaxStrokes()
10.public int getMaxStrokeDuration()