add method

add

Translates a given PointF by the specified Size.

Returns

The translated PointF.

def add(self, point, size):
    ...
ParameterTypeDescription
pointPointFThe PointF to translate.
sizeSizeThe Size that specifies the numbers to add to the coordinates of point.

add

Translates a given PointF by a specified SizeF.

Returns

The translated PointF.

def add(self, point, size):
    ...
ParameterTypeDescription
pointPointFThe PointF to translate.
sizeSizeFThe SizeF that specifies the numbers to add to the coordinates of point.

See Also