NEWS.md
transform
attributes are no longer being included twice.$child
list which tracks the direct child elements by tag name.$find(tag, attribs)
which will return a list of all child nodes matching the given tag names and attributes.url(#id)
rather than url('#id')
.SVGLiteral
class to contain literal strings to include in an SVG document. SVGLiteral
can only contain a single object which is either a character string or convertible with a call to as.character(x)
. A key use for this node is for including SVG or HTML from another source into the current document.points
the actual argument as specified in SVG standardxs
and ys
as 2 numeric vectors of equal length representing the coordinates of the polygonxs
as a matrix with the first 2 columns representing the coordinates.xs
as a data.frame with numeric columns x
and y
.$add_js_url
$add_js_code
$add_css_url()
SVGElement
with $add_css()
<svg>
document is rendered, CSS urls and declarations are accumulated recursive from all child nodes and rendered as a single <style>
block.SVGFilter
class for prototyping filters. This is just a sub-class of SVGElement
with some methods to help preview filters. This is very similar to how the SVGPattern
class works.SVGPattern
objects now have some built-in support for filtersanimate
and related commands, if vectors are passed in as the value for a values
or keyTimes
argument, then paste(x, collapse=";")
is applied. This will make some animation setup easier from R since we no longer have to collpse vectors before calling.