def __init__(self, name, start, mid, end, width): Shape.__init__(self, name) self.create_evaluators(start=(start, Component.Pad), mid=(mid, None), end=(end, Component.Pad), width=(width, float)) self.light_color = (0, 255, 0) self.dark_color = (0, 150, 0) self.priority = 2
def __init__(self, name, cornerA, cornerB, cornerC): Shape.__init__(self, name) self.create_evaluators(cornerA=(cornerA, Point), cornerB=(cornerB, Point), cornerC=(cornerC, Point))
def __init__(self, name='circle', center='c', edge='e'): Shape.__init__(self, name) self.create_evaluators(center=(center, Point), edge=(edge, Point))
def __init__(self, name='rect', cornerA='', cornerB=''): Shape.__init__(self, name) self.create_evaluators(cornerA=(cornerA, Point), cornerB=(cornerB, Point))