GestureDescription.StrokeDescription.ContinueStroke Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create a new stroke that will continue this one.
[Android.Runtime.Register("continueStroke", "(Landroid/graphics/Path;JJZ)Landroid/accessibilityservice/GestureDescription$StrokeDescription;", "GetContinueStroke_Landroid_graphics_Path_JJZHandler", ApiSince=26)]
public virtual Android.AccessibilityServices.GestureDescription.StrokeDescription? ContinueStroke(Android.Graphics.Path? path, long startTime, long duration, bool willContinue);
[<Android.Runtime.Register("continueStroke", "(Landroid/graphics/Path;JJZ)Landroid/accessibilityservice/GestureDescription$StrokeDescription;", "GetContinueStroke_Landroid_graphics_Path_JJZHandler", ApiSince=26)>]
abstract member ContinueStroke : Android.Graphics.Path * int64 * int64 * bool -> Android.AccessibilityServices.GestureDescription.StrokeDescription
override this.ContinueStroke : Android.Graphics.Path * int64 * int64 * bool -> Android.AccessibilityServices.GestureDescription.StrokeDescription
Parameters
- path
- Path
The path for the stroke that continues this one. The starting point of this path must match the ending point of the stroke it continues.
- startTime
- Int64
The time, in milliseconds, from the time the gesture starts to the time this stroke should start. Must not be negative. This time is from the start of the new gesture, not the one being continued.
- duration
- Int64
The time, in milliseconds, for the new stroke to traverse its path. This value must be greater than zero.
- willContinue
- Boolean
true if this stroke will be continued by one in the next gesture false otherwise.
Returns
A new stroke description that continues this stroke in the next gesture.
- Attributes
Remarks
The new stroke uses the same path and timing requirements as a stroke constructor, including a positive duration. This stroke must have been marked to continue. The new start time is relative to the next gesture, not to the gesture that contains this stroke.
Android stroke continuation implementation.
Create a new stroke that will continue this one. This is only possible if this stroke will continue.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.