union method

union

Gets a Rectangle structure that contains the union of two Rectangle structures.

Returns

A Rectangle structure that bounds the union of the two Rectangle structures.

def union(self, a, b):
    ...
ParameterTypeDescription
aRectangleA first rectangle to union.
bRectangleA second rectangle to union.

See Also