add method

add

Adds the width and height of one Size structure to the width and height of another Size structure.

Returns

A Size structure that is the result of the addition operation.

def add(self, size1, size2):
    ...
ParameterTypeDescription
size1SizeThe first Size to add.
size2SizeThe second Size to add.

See Also