subtract method

subtract

Subtracts the width and height of one Size structure from the width and height of another Size structure.

Returns

The Size that is a result of the subtraction operation.

def subtract(self, size1, size2):
    ...
ParameterTypeDescription
size1SizeThe Size structure on the left side of the subtraction operator.
size2SizeThe Size structure on the right side of the subtraction operator.

See Also