SVG::DOM 2.33
Sponsored Links
SVG::DOM 2.33 Ranking & Summary
File size:
0.050 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
917
Date added:
2007-04-23
Publisher:
Ronan Oger
SVG::DOM 2.33 description
SVG::DOM is a Perl library with DOM (Document Object Model) methods for SVG objects.
SVG::DOM provides a selection of methods for accessing and manipulating SVG elements through DOM-like methods such as getElements, getChildren, getNextSibling and so on.
Currently only methods that provide read operations are supported. Methods to manipulate SVG elements will be added in a future release.
SYNOPSIS
my $svg=new SVG(id=>"svg_dom_synopsis", width=>"100", height=>"100");
my %attributes=$svg->getAttributes;
my $group=$svg->group(id=>"group_1");
my $name=$group->getElementName;
my $id=$group->getElementID;
$group->circle(id=>"circle_1", cx=>20, cy=>20, r=>5, fill=>"red");
my $rect=$group->rect(id=>"rect_1", x=>10, y=>10, width=>20, height=>30);
my $width=$rect->getAttribute("width");
my $has_children=$group->hasChildren();
my @children=$group->getChildren();
my $kid=$group->getFirstChild();
do {
print $kid->xmlify();
} while ($kid=$kid->getNextSibling);
my @ancestors=$rect->getParents();
my $is_ancestor=$group->isAncestor($rect);
my $is_descendant=$rect->isDescendant($svg);
my @rectangles=$svg->getElements("rect");
my $allelements_arrayref=$svg->getElements();
...and so on...
SVG::DOM provides a selection of methods for accessing and manipulating SVG elements through DOM-like methods such as getElements, getChildren, getNextSibling and so on.
Currently only methods that provide read operations are supported. Methods to manipulate SVG elements will be added in a future release.
SYNOPSIS
my $svg=new SVG(id=>"svg_dom_synopsis", width=>"100", height=>"100");
my %attributes=$svg->getAttributes;
my $group=$svg->group(id=>"group_1");
my $name=$group->getElementName;
my $id=$group->getElementID;
$group->circle(id=>"circle_1", cx=>20, cy=>20, r=>5, fill=>"red");
my $rect=$group->rect(id=>"rect_1", x=>10, y=>10, width=>20, height=>30);
my $width=$rect->getAttribute("width");
my $has_children=$group->hasChildren();
my @children=$group->getChildren();
my $kid=$group->getFirstChild();
do {
print $kid->xmlify();
} while ($kid=$kid->getNextSibling);
my @ancestors=$rect->getParents();
my $is_ancestor=$group->isAncestor($rect);
my $is_descendant=$rect->isDescendant($svg);
my @rectangles=$svg->getElements("rect");
my $allelements_arrayref=$svg->getElements();
...and so on...
SVG::DOM 2.33 Screenshot
SVG::DOM 2.33 Keywords
SVG
DOM
DOM 2.33
document object model
perl library
Object Model
methods
id
rect
Perl
width
objects
SVG::DOM
SVGDOM
SVG::DOM 2.33
Libraries
Bookmark SVG::DOM 2.33
SVG::DOM 2.33 Copyright
WareSeeker periodically updates pricing and software information of SVG::DOM 2.33 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of SVG::DOM 2.33 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
document object model recommendations
document object model javascript
javascript document object model
document object model tutorial
document object model events
methods machine
document object models
document object model core
birth control methods
methods of suicide
document object model reference
document object model dom
methods in enzymology
html document object model
methods of research
research methods
document object model examples
xml document object model
Related Software
SVG::Element is a Perl module to generate the element bits for SVG.pm. Free Download
The SVG Icons project provides SVG icon themes for desktop environments, including KDE and GNOME. Free Download
SDOM is an attempt to provide a complete implementation of the W3C Document Object Model level 3 API. Free Download
SVG-cards is a set of playing cards made from pure SVG with all kings, queens, jacks, numbers, jokers, and backs of cards. Free Download
Sketsa is a vector drawing application based on SVG. Free Download
libRSVG is a very fast SVG rendering engine written in C. Free Download
XML::DOM2 is a DOM controlled, strict XML module for extentable xml objects. Free Download
DOM Menu is a hierarchical JavaScript popup menus. Free Download
Latest Software
Popular Software
Favourite Software