Set API

jsav.g.set()

Creates a new set, which can be used to combine and then manipulate multiple graphical primitives at the same time.

Note, that many things like changing the style for the group won’t work. Instead, they just silently fail.

jsav.g.push(obj)

Adds the given obj graphical primitive to the set.

Example