Compartir a través de


Keyboard.Key.IsInside(Int32, Int32) Method

Definition

Detects if a point falls inside this key.

[Android.Runtime.Register("isInside", "(II)Z", "GetIsInside_IIHandler")]
public virtual bool IsInside (int x, int y);
[<Android.Runtime.Register("isInside", "(II)Z", "GetIsInside_IIHandler")>]
abstract member IsInside : int * int -> bool
override this.IsInside : int * int -> bool

Parameters

x
Int32

the x-coordinate of the point

y
Int32

the y-coordinate of the point

Returns

whether or not the point falls inside the key. If the key is attached to an edge, it will assume that all points between the key and the edge are considered to be inside the key.

Attributes

Remarks

Detects if a point falls inside this key.

Java documentation for android.inputmethodservice.Keyboard.Key.isInside(int, int).

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