def __init__(self, position=(0, 0), node_list=[]): Polygon.__init__(self, node_list) Translatable.__init__(self, position) Named.__init__(self) self.__connected_objects = [] self.__pointed_objects = [] self.add_name('_arrow_')
def __init__(self, position = (0, 0), node_list = []): Polygon.__init__(self, node_list) Translatable.__init__(self, position) Named.__init__(self) self.__connected_objects = [] self.__pointed_objects = [] self.add_name('_arrow_')
def __init__(self, text = "", position = (0, 0)): Drawable.__init__(self) Translatable.__init__(self, position) Named.__init__(self) self.__text = text self.__font_size = 1 self.__scaled_direction = Vector(1, 0) return
def __init__(self, text="", position=(0, 0)): Drawable.__init__(self) Translatable.__init__(self, position) Named.__init__(self) self.__text = text self.__font_size = 1 self.__scaled_direction = Vector(1, 0) return
def __init__(self, position = (0, 0), node_list = []): Polygon.__init__(self, node_list) Translatable.__init__(self, position) Named.__init__(self) self.add_name('_arrow_')
def scale(self, scale): Translatable.scale(self, scale) Polygon.scale(self, scale) return
def scale(self, scale): Translatable.scale(self, scale) self.__font_size = self.__font_size * scale[0] self.__scaled_direction *= scale return
def scale(self, scale): Translatable.scale(self, scale) self.__font_size = self.__font_size * scale[0] self.__scaled_direction = (self.__scaled_direction[0] * scale[0], self.__scaled_direction[1] * scale[1]) return