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)
Parameter | Type | Description |
---|---|---|
angle | Single | The rotation angle. |
cx | Single | The x coordinate of center of rotation. |
cy | Single | The y coordinate of center of rotation. |
Exceptions
exception | condition |
---|---|
DOMException | Code NO_MODIFICATION_ALLOWED_ERR . Raised on an attempt to change the value of a read only attribute. |
See Also
- class SVGTransform
- namespace Aspose.Svg.DataTypes
- assembly Aspose.SVG