SVGTransform.SetRotate

SVGTransform.SetRotate method

Sets the transform type to SVG_TRANSFORM_ROTATE, with parameter angle defining the rotation angle and parameters cx and cy defining the optional center of rotation.

public void SetRotate(float angle, float cx, float cy)
ParameterTypeDescription
angleSingleThe rotation angle.
cxSingleThe x coordinate of center of rotation.
cySingleThe y coordinate of center of rotation.

Exceptions

exceptioncondition
DOMExceptionCode NO_MODIFICATION_ALLOWED_ERR. Raised on an attempt to change the value of a read only attribute.

See Also