Language

RemoveSpaceGesture.Builder.SetPoints(PointF, PointF) Method

Definition

Sets the start and end points in screen coordinates of the line to apply the remove space operation.

[Android.Runtime.Register("setPoints", "(Landroid/graphics/PointF;Landroid/graphics/PointF;)Landroid/view/inputmethod/RemoveSpaceGesture$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.RemoveSpaceGesture.Builder SetPoints(Android.Graphics.PointF startPoint, Android.Graphics.PointF endPoint);
[<Android.Runtime.Register("setPoints", "(Landroid/graphics/PointF;Landroid/graphics/PointF;)Landroid/view/inputmethod/RemoveSpaceGesture$Builder;", "", ApiSince=34)>]
member this.SetPoints : Android.Graphics.PointF * Android.Graphics.PointF -> Android.Views.InputMethods.RemoveSpaceGesture.Builder

Parameters

startPoint
PointF

The start of the gesture line in screen coordinates.

endPoint
PointF

The end of the gesture line in screen coordinates.

Returns

This builder after the gesture endpoints are stored.

Attributes

Remarks

Sets the start and end points in screen coordinates of the line to apply the remove space operation. All whitespace characters touched by the line joining the points will be deleted.

The operation will only be performed on a single line of text. If the start and end points are on different lines of text, the line will be adjusted to cover only the first line of text containing one of the points.

Android reference for android.view.inputmethod.RemoveSpaceGesture.Builder.setPoints.

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.

Applies to