driptorch.Pattern.translate#

Pattern.translate(x_off: float, y_off: float) driptorch.pattern.Pattern#

Translate pattern geometry along the x and y axis by the supplied x and y offset amounts.

Parameters
x_offfloat

Offset along the x axis

y_offfloat

Offset along the y axis

Returns
Pattern

New Pattern object with translated geometries