Closed cwensley closed 11 months ago
new RectangleF(2f, 2f).Contains(1.5f, 1.5f) would return false as this is incorrectly using InnerRight/InnerBottom. Also changed Rectangle.Contains() to not use those as well though it doesn't change their behaviour..
new RectangleF(2f, 2f).Contains(1.5f, 1.5f)
InnerRight
InnerBottom
Rectangle.Contains()
new RectangleF(2f, 2f).Contains(1.5f, 1.5f)
would return false as this is incorrectly usingInnerRight
/InnerBottom
. Also changedRectangle.Contains()
to not use those as well though it doesn't change their behaviour..