A shape is a basic geometric element. Describes methods for creating structural elements.
Constructs a shape element with the provided root.
Class attribute for the root element.
Style for the root element.
The update function describes how this element should update itself
The controller manages the dependencies between elements. Every element is added to this controller upon creation.
This number uniquely identifes elements
Allows for the events attatched to elements to be disabled.
Returns the unique generated identifier associated with this element.
Declares this element dependent on the provided element(s).
Appends the element as a child within this element.
Constructs and appends a circle within this element.
Removes all child elements from this element.
Returns true if this element contains the argument element.
Constructs and appends an ellipse within this element.
Returns the bounding box of this element. Note, this is different from the getBoundingClientRect method since the bounding box is affected by the current viewPort.
If this element's root is not a SVGGraphics element as is the case for the marker, title, and more element, then null is returned instead of a DOMRect.
Returns the location of the point on the path.
Returns the total length of this path.
Returns true if the point is contained within this shapes fill
Returns true if the point is contained within this shapes stroke
Constructs and appends a line within this element.
Constructs and appends a path within this element.
constructs and appends a polygon within this element
Inserts the element before the first child within this element.
Constructs and appends a rectangle within this element
Removes this element from the DOM and from the Element controller.
Updates all of the elements that depend on this element.
Clears the static data structures holding elements and resets the count.
Generated using TypeDoc