Content deleted Content added
Citation bot (talk | contribs) Add: title. Changed bare reference to CS1/2. | Use this bot. Report bugs. | Suggested by BrownHairedGirl | Linked from User:BrownHairedGirl/Articles_with_bare_links | #UCB_webform_linked 1219/2195 |
Tags/rm hijacked site |
||
Line 13:
| 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 [[Scalable Vector Graphics|SVG]] for most browsers, but will use [[VML]] for older versions of [[Internet Explorer]]. Raphaël currently{{As of?|date=April 2023}} 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+.
== 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:{{Citation needed|date=April 2023}}
<syntaxhighlight lang="javascript">
Line 29:
</syntaxhighlight>
Once the Raphaël object has been instantiated, its various drawing, resizing and animation methods may be called to build up a vector graphic. This library includes support of Cùfon fonts, a format that turns a given font into a set of vector paths. It is extensible through plugins.{{Citation needed|date=April 2023}}
== Usage ==
The widget is used on the [[Washington Post]] and the [[The Times|Times Online]] websites.{{Citation needed|date=April 2023}}
Raphaël is also used by [[iCloud]].com, and by [[Mass Relevance]] in the [[White House]].<ref>[https://twitter.com/RaphaelJS/status/88762625986531329 Raphaël in White House: “we (@massrelevance) used @raphaeljs 2.0 for the map viz used during the #AskObama event today http://t.co/EcqROIi”]</ref>
|