The center point of this bounds.
Computes the distance in px between the centers of this bounds and another.
px
Checks if the other object equals this object.
Returns a hashcode based on x, y, width and height.
x
y
width
height
Returns the height to be used when scaling
Determines whether:
Scale Bounds using the given factor. Affects: x, y, width and height
Scale T to fit within the given maxWidth and maxHeight.
Helper method to convert an object to JSON
Returns the width to be used when scaling