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
offsetX
floatThe
x
value by which to translate this SvgTransformF.offsetY
floatThe
y
value 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
offsetX
floatThe
x
value by which to translate this SvgTransformF.offsetY
floatThe
y
value by which to translate this SvgTransformF.order
SvgTransformOrderA SvgTransformOrder that specifies the order (append or prepend) in which the translation is applied to this SvgTransformF.