Module: player/Camera

Classes

Camera

Members

(inner, constant) SVG_NS :string

Constant: the XML SVG namespace URI.

Type:
  • string
Source:

Methods

(static) hasReliableBoundaries(elt) → {boolean}

Check that an SVG element is usable as a reference element.

The function helps work around a bug in web browsers where text elements are known to return unreliable bounding box data.

Parameters:
Name Type Description
elt SVGElement

An SVG element to check.

Source:
Returns:
  • true if the element can be used as a reference element.
Type
boolean