Raphaël (JavaScript library): Difference between revisions

Content deleted Content added
m Use Free and open-source software portal name (via WP:JWB)
mNo edit summary
Line 12:
| website = {{URL|https://dmitrybaranovskiy.github.io/raphael/}}
}}
'''Raphaël''', named for Italian painter [[Raffaello Sanzio da Urbino]],<ref>{{cite web |title=An Intro to Raphaël|url=http://raphaeljs.com/}}</ref> is a [[cross-browser]] [[JavaScript]] library that draws [[Vector graphics]] for web sites. It will use [[SVG]] for most browsers, but will use [[VML]] for older versions of [[Internet Explorer]]. Raphaël currently supports [[Chrome browser|Chrome]] 5.0+ [[Firefox]] 3.0+, [[Safari (web browser)|Safari]] 3.0+, [[Opera (web browser)|Opera]] 9.5+ and [[Internet Explorer]] 6.0+. According to JavaScript analytics service, [[Libscore]], Raphaël is used on over 3,000 websites, including the homepages of [[Apple Inc.|Apple]]'s [[iCloud]] [http://iCloud.com], [[Food Network]][http://foodnetwork.com], [[Cornell]][http://Cornell.edu], and [[Philips]][http://philips.com].<ref>http://libscore.com/?#Raphael</ref>
 
== Use ==
Raphaël is used by first creating an instance of the Raphaël [[Object (computer science)|object]], which manages the creation of the canvas. The following examples create a canvas that is 320 pixels wide and 200 pixels high:
 
<source lang="javascript">
// top left of canvas at the viewport's 10,50 coordinate
var r = Raphael(10, 50, 320, 200);
Line 46:
 
==External links==
* [https://dmitrybaranovskiy.github.io/raphael/ Raphaël] homepage
* [https://dmitrybaranovskiy.github.io/raphael/reference.html Raphaël] syntax
* [http://dev.opera.com/articles/view/raphael-a-javascript-api-for-svg/ Raphaël:] a JavaScript API for SVG
* [http://net.tutsplus.com/tutorials/javascript-ajax/an-introduction-to-the-raphael-js-library/ An introduction to Raphaël]
* [http://www.fosslc.org/drupal/content/raphaeljs-javascript-vector-graphics-library-web/ Raphael.js:] javascript vector graphics library for the web
 
{{DEFAULTSORT:Raphael (JavaScript library)}}