setRotate method

[This documentation is preliminary and is subject to change.]

Sets the transform type to SVG_TRANSFORM_ROTATE by using the specified rotation angle and center of rotation.

Scalable Vector Graphics: Coordinate Systems, Transformations and Units, Section 7.14.4Internet Explorer 9

Syntax

HRESULT retVal = object.setRotate(angle, cx, cy);

Standards information

Parameters

  • angle [in]
    Type: float

    The rotation angle.

  • cx [in]
    Type: float

    The x-coordinate of the center of rotation.

  • cy [in]
    Type: float

    The y-coordinate of the center of rotation.

Return value

Type: HRESULT

This method can return one of these values.

Return code Description
W3CException_DOM_NO_MODIFICATION_ALLOWED_ERR

An attempt is made to modify an object that cannot be changed.

 

Remarks

The setRotate 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.

 

 

Build date: 1/26/2012