SVGTransform.SetScale

SVGTransform.SetScale method

Sets the transform type to SVG_TRANSFORM_SCALE, with parameters sx and sy defining the scale amounts.

public void SetScale(float sx, float sy)
ParameterTypeDescription
sxSingleThe scale amount in X.
sySingleThe scale 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