rect width
rect height
diff x
diff y