21 references to Epsilon
Microsoft.Maui.Graphics (21)
Color.cs (1)
153 if (Math.Abs(alpha - Alpha) < GeometryUtil.Epsilon)
GeometryUtil.cs (1)
214 if (Math.Abs(vAdjustedValue - vRange) < Epsilon)
GradientPaint.cs (1)
196 if (Math.Abs(currentOffset - offset) < GeometryUtil.Epsilon)
Insets.cs (8)
61 return Math.Abs(_top - value) < GeometryUtil.Epsilon && Math.Abs(_left - value) < GeometryUtil.Epsilon && Math.Abs(_right - value) < GeometryUtil.Epsilon && 62 Math.Abs(_bottom - value) < GeometryUtil.Epsilon; 69 return Math.Abs(vCompareTo.Top - Top) < GeometryUtil.Epsilon && Math.Abs(vCompareTo.Left - Left) < GeometryUtil.Epsilon && Math.Abs(vCompareTo.Bottom - Bottom) < GeometryUtil.Epsilon && 70 Math.Abs(vCompareTo.Right - Right) < GeometryUtil.Epsilon;
InsetsF.cs (8)
61 return Math.Abs(_top - value) < GeometryUtil.Epsilon && Math.Abs(_left - value) < GeometryUtil.Epsilon && Math.Abs(_right - value) < GeometryUtil.Epsilon && 62 Math.Abs(_bottom - value) < GeometryUtil.Epsilon; 69 return Math.Abs(vCompareTo.Top - Top) < GeometryUtil.Epsilon && Math.Abs(vCompareTo.Left - Left) < GeometryUtil.Epsilon && Math.Abs(vCompareTo.Bottom - Bottom) < GeometryUtil.Epsilon && 70 Math.Abs(vCompareTo.Right - Right) < GeometryUtil.Epsilon;
PathF.cs (2)
1307 if (!point.Equals(compareTo[i], GeometryUtil.Epsilon)) 1316 if (Math.Abs(arcAngle - compareTo.GetArcAngle(i)) > GeometryUtil.Epsilon)