translate

Creates a translate transform string.

The translate transform moves an element by the specified x and y offsets. This helper is intended to be used directly as a transform attribute value or combined with other transform helpers via transforms(...).

Return

The translate transform string.

Parameters

x

The x-offset.

y

The y-offset.