Język

JoinOrSplitGesture.Builder.SetJoinOrSplitPoint(PointF) Method

Definition

Sets the point to apply the join or split operation in screen coordinates.

[Android.Runtime.Register("setJoinOrSplitPoint", "(Landroid/graphics/PointF;)Landroid/view/inputmethod/JoinOrSplitGesture$Builder;", "", ApiSince=34)]
public Android.Views.InputMethods.JoinOrSplitGesture.Builder SetJoinOrSplitPoint(Android.Graphics.PointF point);
[<Android.Runtime.Register("setJoinOrSplitPoint", "(Landroid/graphics/PointF;)Landroid/view/inputmethod/JoinOrSplitGesture$Builder;", "", ApiSince=34)>]
member this.SetJoinOrSplitPoint : Android.Graphics.PointF -> Android.Views.InputMethods.JoinOrSplitGesture.Builder

Parameters

point
PointF

Returns

Attributes

Remarks

Sets the point to apply the join or split operation in screen coordinates.

If the text cursor position closest to the point is inside or on the boundary of whitespace, then the whitespace will be deleted, joining the text on either side of the whitespace. If there are multiple consecutive whitespace characters, then the entire whitespace block will be deleted.

Otherwise, if the text cursor position closest to the point is not touching whitespace, then a space will be inserted at that position.

Android reference for android.view.inputmethod.JoinOrSplitGesture.Builder.setJoinOrSplitPoint.

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