catenary-2

<script src="./point_src/catenary-2"></script>

As the tin suggests, the 'svg' component makes an SVG. The SVG is editable and made new.

var svg = new PrimaryContext(undefined, '#container')
window.pipes = svg
svg.start()

Target a container or an svg name:

var svg = new PrimaryContext('svd_id')

SVG First, then fallback to the container:

var svg = new PrimaryContext('svd_id', "#svg_pawn_div")

For free we have a rendering layer, iterating objects and discovering a render() function:

svg.addItem({
    render() {
        ...
    }
})
Meta Data
filepath_exists True
path catenary-2
filepath catenary-2.js
clean_files ()

Method List

comment.html|safe
comment.html|safe
  • method_kind

    method_name

    (
    param_name = param.default_value ,
    )
    from class_name
    comment.html|safe
    comment.html|safe