StaticclientReturns local coordinates relative to the provided localRoot of a client (screen) point.
relative coordinate root
horizontal client coordinate
vertical client coordinate
zoom level
local coordinates relative to localRoot
StaticcreateCreates an SVG circle with the specified radius.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates SVG "defs".
StaticcreateCreates an SVG ellipse with the specified horizontal and vertical radii.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG filter element.
filter id
Optionalattributes: [string, string][]other filter element attributes
OptionalinnerHTML: stringfilter definition as string
filter element
StaticcreateCreates an SVG text element.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG group.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG image element.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG line with specified end-point coordinates.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG marker.
StaticcreateCreates an SVG path with the specified shape (d).
path shape
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG point with the specified coordinates.
StaticcreateCreates an SVG polygon with specified points.
points as string.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG rectangle with the specified width and height.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG image element from a supplied inner SVG markup string.
SVG markup (without the root svg tags)
SVG image element
StaticcreateCreates an SVG text element.
Optionalattributes: [string, string][]additional attributes.
StaticcreateCreates an SVG transform.
StaticcreateTSpanCreates an SVG TSpan.
inner text.
Optionalattributes: [string, string][]additional attributes.
StaticsetSets attributes on an arbitrary SVG element
target SVG element.
set of name-value attribute pairs.
Utility class to simplify SVG operations.