@classmethod
def from_extent(cls, extent, origin):
    """Create a rectangle, knowing its upper left origin, and
        spatial extension

        :type extent: Stretch
        :type origin: Point
        :return: a Point instance
        """
    inst = cls()
    inst._extent = extent
    inst._origin = origin
    return inst
