def dot(x, y, size=(1, 1), outline_color=Color.RED, outline_thickness=1): d = RectangleShape() d.size = size d.outline_color = outline_color d.outline_thickness = outline_thickness d.x = x d.y = y return d
def dot(x, y, size=(1,1), outline_color = Color.RED, outline_thickness = 1): d = RectangleShape() d.size = size d.outline_color = outline_color d.outline_thickness = outline_thickness d.x = x d.y = y return d
def line(size=(1,1), outline_color = Color.BLACK, x=0, y=0, rotate = 0, outline_thickness = 1): l = RectangleShape() l.size = size l.outline_color = outline_color l.outline_thickness = outline_thickness l.x = x l.y = y if rotate != 0: l.rotate(rotate) return l
def line(size=(1, 1), outline_color=Color.BLACK, x=0, y=0, rotate=0, outline_thickness=1): l = RectangleShape() l.size = size l.outline_color = outline_color l.outline_thickness = outline_thickness l.x = x l.y = y if rotate != 0: l.rotate(rotate) return l