equal_coords


Description:

public bool equal_coords (int x, int y, int width, int height)

Check if a rectangle is equal to a set of parameters.

Returns TRUE if this and x,y width x height are equal.

Parameters:

this

a Rectangle

x

X coordinate

y

Y coordinate

width

width of rectangle

height

height of rectangle