to_string method

On this page

to_string

Returns a string representation of the rectangle.

def to_string(self):
    ...

Returns: str: A string representing the rectangle’s position and size.

See Also

On this page