Export (0) Print
Expand All
Expand Minimize

getBBox method

Gets the bounding box, in current user space, of the geometry of all contained graphics elements.

Scalable Vector Graphics: Basic Data Types and Interfaces, Section 4.5.23Internet Explorer 9

Syntax

object.getBBox()

Parameters

This method has no parameters.

Return value

Type: ISVGRect

An SVGRect object that defines the element's bounding box.

Standards information

Remarks

The getBBox method returns the actual bounding box at the time when the method is called, even if the element has not yet been rendered.

The return value is exclusive of stroking, clipping, masking, and filter effects that are applied to elements.

See also

SVGAElement
SVGCircleElement
SVGClipPathElement
SVGDefsElement
SVGEllipseElement
SVGGElement
SVGImageElement
SVGLineElement
SVGPathElement
SVGPolygonElement
SVGPolylineElement
SVGRectElement
SVGSVGElement
SVGSwitchElement
SVGTextElement
SVGUseElement

 

 

Show:
© 2014 Microsoft