'Activates the rectangle selection mode, where the user can select points in a rectangular area
by dragging the mouse over them'

def activate_rectangle_selection(self):

    self.state = SELECT_RECTANGLE
