PointF.Length 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.
Overloads
Length(Single, Single) |
Returns the euclidian distance from (0,0) to (x,y) |
Length() |
Return the euclidian distance from (0,0) to the point |
Length(Single, Single)
Returns the euclidian distance from (0,0) to (x,y)
[Android.Runtime.Register("length", "(FF)F", "")]
public static float Length (float x, float y);
[<Android.Runtime.Register("length", "(FF)F", "")>]
static member Length : single * single -> single
Parameters
- x
- Single
- y
- Single
Returns
- Attributes
Remarks
Returns the euclidian distance from (0,0) to (x,y)
Java documentation for android.graphics.PointF.length(float, float)
.
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
Length()
Return the euclidian distance from (0,0) to the point
[Android.Runtime.Register("length", "()F", "")]
public float Length ();
[<Android.Runtime.Register("length", "()F", "")>]
member this.Length : unit -> single
Returns
- Attributes
Remarks
Return the euclidian distance from (0,0) to the point
Java documentation for android.graphics.PointF.length()
.
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.