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)
ParameterTypeDescription
txSingleThe translation amount in X.
tySingleThe translation amount in Y.

Exceptions

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

See Also