Keyboard.Key.SquaredDistanceFrom(Int32, Int32) Method

Definition

Caution

deprecated

Returns the square of the distance between the center of the key and the given point.

[Android.Runtime.Register("squaredDistanceFrom", "(II)I", "GetSquaredDistanceFrom_IIHandler")]
[System.Obsolete("deprecated")]
public virtual int SquaredDistanceFrom (int x, int y);
[<Android.Runtime.Register("squaredDistanceFrom", "(II)I", "GetSquaredDistanceFrom_IIHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SquaredDistanceFrom : int * int -> int
override this.SquaredDistanceFrom : int * int -> int

Parameters

x
Int32

the x-coordinate of the point

y
Int32

the y-coordinate of the point

Returns

Int32
Attributes

Remarks

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