Jump to content

Arc in xml


Guest shrimugam

Recommended Posts

Guest shrimugam

Hi all,I'm new to xml... How to create an arc in xml using 3 points... start, end and center?Is that possible?Thanks.

Link to comment
Share on other sites

XML itself is not a language for creation of graphics. It's a set of rules for defining markup languages (like XHTML for example).I'm guessing you refer to arcs in SVG - an XML based language for creating 2D graphics.Well, for it, it's better that you get an SVG editor, such as Adobe Illustrator for example. Anyhow, you can do that with the <path/> element. Here's a sample made in Adobe Illustrator with it's arc tool:

<path style="fill:none;stroke:#000000;" d="M278,0c0,153.7-124.3,278-278,278"/>

Creating an arc manually (by writing code) is not very easy.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...