Added in API level 34

JoinOrSplitGesture


class JoinOrSplitGesture : HandwritingGesture, Parcelable
kotlin.Any
   ↳ android.view.inputmethod.HandwritingGesture
   ↳ android.view.inputmethod.JoinOrSplitGesture

A subclass of HandwritingGesture for deleting or inserting whitespace in text. If the gesture is drawn over whitespace, then the whitespace will be deleted. Otherwise, a space will be inserted.

Summary

Nested classes

Builder for JoinOrSplitGesture.

Inherited constants
Public methods
Int

Boolean
equals(other: Any?)

PointF

Returns the gesture point in screen coordinates set with Builder#setJoinOrSplitPoint.

Int

Unit
writeToParcel(dest: Parcel, flags: Int)

Used to package this object into a Parcel.

Inherited functions
Properties
static Parcelable.Creator<JoinOrSplitGesture!>

Used to make this class parcelable.

Public methods

describeContents

Added in API level 34
fun describeContents(): Int
Return
Int a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR

equals

Added in API level 34
fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getJoinOrSplitPoint

Added in API level 34
fun getJoinOrSplitPoint(): PointF

Returns the gesture point in screen coordinates set with Builder#setJoinOrSplitPoint.

Return
PointF This value cannot be null.

hashCode

Added in API level 34
fun hashCode(): Int
Return
Int a hash code value for this object.

writeToParcel

Added in API level 34
fun writeToParcel(
    dest: Parcel,
    flags: Int
): Unit

Used to package this object into a Parcel.

Parameters
dest Parcel: Parcel to be written This value cannot be null.
flags Int: flags used for parceling

Properties

CREATOR

Added in API level 34
static val CREATOR: Parcelable.Creator<JoinOrSplitGesture!>

Used to make this class parcelable.