ludo.svg.Group

ludo.svg.


new ludo.svg.Group()

SVG Group DOM node which can be positioned as a child view
in the relative layout.

Source:

Members


bbox

Object with left, top, width and height coordinates of group
This object is updated on calls to position() and resize()

Properties:
Name Type Description
bbox Object
Source:

height

Height of SVG group

Properties:
Name Type Description
height Number
Source:

width

Width of SVG group

Properties:
Name Type Description
width Number
Source:

Methods


position(x, y) → {Object}

Returns or set position of a SVG group. On no arguments, position will be returned, otherwise,
it will be set.

Parameters:
Name Type Description
x Number
y Number
Source:
Returns:
Type
Object