ZVON > References > DOM2 Reference

getRectValue (method )

Owning interface and usage:  
CSSPrimitiveValue.getRectValue()

Member of these other interfaces:  
none

Description:  
This method is used to get the Rect value. If this CSS value doesn't contain a rect value, a DOMException is raised. Modification to the corresponding style property can be achieved using the Rect interface.

Parameters:  
none

Returns:  
Rect -  The Rect value.

Exceptions:  
DOMException INVALID_ACCESS_ERR
Raised if the CSS value doesn't contain a Rect value. (e.g. this is not CSS_RECT).