org.scalajs.dom
The SVGRect represents rectangular geometry. Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.
The height coordinate of the rectangle, in user units.
The width coordinate of the rectangle, in user units.
The x coordinate of the rectangle, in user units.
The y coordinate of the rectangle, in user units.
The SVGRect represents rectangular geometry. Rectangles are defined as consisting of a (x,y) coordinate pair identifying a minimum X value, a minimum Y value, and a width and height, which are usually constrained to be non-negative.