The following list contains properties exposed by the paper object:
svg
- a reference to the SVG document object the paper uses to render all the graphics.viewport
- a reference to the SVG group <g>
element the paper wraps all the rendered elements and links into. Paper transformations
such as scale is performed on this element.defs
- a reference to the SVG <defs> element used to define SVG elements for later reuse. This is also a good place to put SVG masks, patterns, filters and gradients.Normally, you do not need to access these properties directly but in some (advanced) situations, it is handy to have access to them.