SVGGraphicsElement

Overview

The SVGGraphicsElement interface represents SVG elements whose primary purpose is to directly render graphics into a group.

Location


Properties


dataset    (declared in SVGElement)

 

property dataset: String read;

 

String dataset { get; }

 

var dataset: String { get{} }

 

String dataset { __get; }

 

ReadOnly Property dataset() As String

ownerSVGElement    (declared in SVGElement)

 

property ownerSVGElement: Element read;

 

Element ownerSVGElement { get; }

 

var ownerSVGElement: Element { get{} }

 

Element ownerSVGElement { __get; }

 

ReadOnly Property ownerSVGElement() As Element

viewportElement    (declared in SVGElement)

 

property viewportElement: Element read;

 

Element viewportElement { get; }

 

var viewportElement: Element { get{} }

 

Element viewportElement { __get; }

 

ReadOnly Property viewportElement() As Element

Required Methods


getBBox

Returns a DOMRect representing the computed bounding box of the current element.

 

method getBBox: SVGRect

 

SVGRect getBBox()

 

func getBBox() -> SVGRect

 

SVGRect getBBox()

 

Function getBBox() As SVGRect