Computes the difference regions between this rectangle and rect. The
return value is an array of 0 to 4 rectangles defining the remaining regions
of this rectangle after the other has been subtracted.
Scales this rectangle by the given scale factors. The left and width values
are scaled by sx and the top and height values are scaled by
opt_sy. If opt_sy is not given, then all fields are scaled
by sx.
Translates this rectangle by the given offsets. If a
goog.math.Coordinate is given, then the left and top values are
translated by the coordinate's x and y values. Otherwise, top and left are
translated by tx and opt_ty respectively.
Computes the difference regions between two rectangles. The return value is
an array of 0 to 4 rectangles defining the remaining regions of the first
rectangle after the second has been subtracted.
Returns the intersection of two rectangles. Two rectangles intersect if they
touch at all, for example, two zero width and height rectangles would
intersect if they had the same top and left.
Returns whether two rectangles intersect. Two rectangles intersect if they
touch at all, for example, two zero width and height rectangles would
intersect if they had the same top and left.