def __init__(self, sel_area, rect=None, draggable=True, invisible=False): SelectPart.__init__(self, sel_area, "edge", rect=rect, draggable=draggable, invisible=invisible) self.loc = SelectLoc(rect=rect)
def __init__(self, rect=None): SelectPart.__init__(self, "region", rect=None) self.loc = SelectLoc(rect=rect)
def __init__(self, part_type, point=None): SelectPart.__init__(self, "corner", point=point) self.loc = SelectLoc(point=point)