Class Index | File Index

Classes


Namespace initMainSvg


Defined in: naview.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Function to generate the SVG Dom element.
Namespace Detail
initMainSvg
Function to generate the SVG Dom element.
1. Detects if current svg container exists, and should be created if not
2. Detects if current svg exists and creates it if not
3. Sets svg width and height
Parameters:
{string} svg_id
id of svg to edit/create
{string} container_id
id of svg to select/create
{number} svg_width
width to set svg
{number} svg_height
height to set svg

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Sep 08 2021 09:00:35 GMT-0300 (BRT)