Namespace: xrx.svg

xrx. svg

Namespace for the SVG rendering engine. Also a a static class providing utility functions.
Source:

Classes

Canvas
Circle
Container
Element
Ellipse
Group
Image
Line
Polygon
Polyline
Rect
Stylable

Members

(private, static) xrx.svg.Namespace :string

Enumeration of SVG related namespaces.
Type:
  • string
Properties:
Name Type Default Description
svg string http://www.w3.org/2000/svg The SVG namespace.
xlink string http://www.w3.org/1999/xlink The XLINK namespace.
Source:

Methods

(static) xrx.svg.isSupported() → {boolean}

Returns whether SVG rendering is supported by the current user agent.
Source:
Returns:
Whether SVG rendering is supported.
Type
boolean

(private, static) xrx.svg.setCoords(element, points)

Sets the coordinates for various SVG elements such as polygons.
Parameters:
Name Type Description
element Element The SVG element.
points Array.<number> Array of coordinates.
Source: