SkillAgentSearch skills...

Readysetraphael

SVG to RaphaelJS Converter

Install / Use

/learn @allankiezel/Readysetraphael
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Ready. Set. Raphael.

Raphaël JavaScript Library Converter

Ready. Set. Raphael. will convert contents from an SVG file to Raphaël JavaScript code.

Online Conversion Tool

Please visit www.readysetraphael.com to use our automatic converter for your projects.

Usage

<?php

try {

    $xml =  file_get_contents([path_to_svg);

    $svg = SVG::getInstance([optional_js_var_name);
    $svg->setSVG($xml);

    $parser = new Parser($svg->getSVG());
    $parser->init();

} catch (Exception $e) {

    echo $e->getMessage();

}

?>

License

<p> <a rel="license" href="http://creativecommons.org/licenses/by/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by/3.0/80x15.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" href="http://purl.org/dc/dcmitype/Text" property="dct:title" rel="dct:type">Ready. Set. Raphael.</span> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by/3.0/">Creative Commons Attribution 3.0 Unported License</a>.<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="http://www.readysetraphael.com" rel="dct:source">www.readysetraphael.com</a>. </p>

Related Skills

View on GitHub
GitHub Stars28
CategoryDevelopment
Updated4y ago
Forks5

Languages

PHP

Security Score

60/100

Audited on Jul 4, 2021

No findings