Method Translate
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
Translate(float, float)
Applies the specified translation vector to this SvgTransformF by prepending the translation vector.
public void Translate(float offsetX, float offsetY)
Parameters
offsetXfloatThe
xvalue by which to translate this SvgTransformF.offsetYfloatThe
yvalue by which to translate this SvgTransformF.
Translate(float, float, SvgTransformOrder)
Applies the specified translation vector to this SvgTransformF in the specified order.
public void Translate(float offsetX, float offsetY, SvgTransformOrder order)
Parameters
offsetXfloatThe
xvalue by which to translate this SvgTransformF.offsetYfloatThe
yvalue by which to translate this SvgTransformF.orderSvgTransformOrderA SvgTransformOrder that specifies the order (append or prepend) in which the translation is applied to this SvgTransformF.