10 references to Length
Microsoft.Maui.Graphics (7)
Matrix3x2Extensions.cs (6)
53 var sx = matrix.M12 == 0 ? Math.Abs(matrix.M11) : new Vector2(matrix.M11, matrix.M12).Length(); 54 var sy = matrix.M21 == 0 ? Math.Abs(matrix.M22) : new Vector2(matrix.M21, matrix.M22).Length(); 72 var sx = matrix.M12 == 0 ? Math.Abs(matrix.M11) : new Vector2(matrix.M11, matrix.M12).Length(); 73 var sy = matrix.M21 == 0 ? Math.Abs(matrix.M22) : new Vector2(matrix.M21, matrix.M22).Length(); 167 scalex = value.M12 == 0 ? MathF.Abs(value.M11) : new Vector2(value.M11, value.M12).Length(); 168 scaley = value.M21 == 0 ? MathF.Abs(value.M22) : new Vector2(value.M21, value.M22).Length();
PathF.cs (1)
1552 double r = vectors[0].Length();
System.Private.CoreLib (3)
src\libraries\System.Private.CoreLib\src\System\Numerics\Vector2.cs (3)
822public static Vector2 Normalize(Vector2 value) => value / value.Length(); 1059/// <remarks>This operation offers better performance than a call to the <see cref="Length" /> method.</remarks> 1060/// <altmember cref="Length" />