SVGRect

@native @JSGlobal @JSType
class SVGRect extends Object

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.

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

var height: Double

The height coordinate of the rectangle, in user units.

The height coordinate of the rectangle, in user units.

var width: Double

The width coordinate of the rectangle, in user units.

The width coordinate of the rectangle, in user units.

var x: Double

The x coordinate of the rectangle, in user units.

The x coordinate of the rectangle, in user units.

var y: Double

The y coordinate of the rectangle, in user units.

The y coordinate of the rectangle, in user units.