search

goog.math.Box

Provided By

Class for representing a box. A box is specified as a top, right, bottom, and left. A box is useful for representing margins and padding.

This class assumes 'screen coordinates': larger Y coordinates are further from the top of the screen.

new Box( top, right, bottom, left )

Parameters
topnumber

Top.

rightnumber

Right.

bottomnumber

Bottom.

leftnumber

Left.

Instance Methods

Instance Properties

Static Functions