Sets the transform type to SVG_TRANSFORM_SCALE by using the specified scale amounts.
Syntaxvar retval = SVGTransform.setScale(sx, sy);
- sx [in]
The scale amount along the x-axis.
- sy [in]
The scale amount along the y-axis.
This method can return one of these values.
IE9 mode only.
An attempt is made to modify an object that cannot be changed.
An attempt is made to modify an object that cannot be changed. For versions earlier than Internet Explorer 10, NO_MODIFICATION_ALLOWED_ERR is returned.
The setScale method can raise a DOMException exception with the code NO_MODIFICATION_ALLOWED_ERR. This exception is raised if you try to change the value of a read-only attribute.