SVGTransform.SetTranslate
SVGTransform.SetTranslate method
Sets the transform type to SVG_TRANSFORM_TRANSLATE, with parameters tx and ty defining the translation amounts.
public void SetTranslate(float tx, float ty)
Parameter | Type | Description |
---|---|---|
tx | Single | The translation amount in X. |
ty | Single | The translation amount in Y. |
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