Keyboard.Key.SquaredDistanceFrom(Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.