offset method

offset

Translates this Point by the specified Point.

def offset(self, point):
    ...
ParameterTypeDescription
pointPointThe Point used to offset this Point.

offset

Translates this Point by the specified amount.

def offset(self, dx, dy):
    ...
ParameterTypeDescription
dxintThe amount to offset the x-coordinate.
dyintThe amount to offset the y-coordinate.

See Also