def draw(self):
    if self.hide:
        return
    background = self.background_color
    if (self.do_highlight and self.is_point_inside(MOUSE_POSITION)):
        background = self.highlight_color
    draw_rectangle(self.point, self.width, self.height, background)
    draw_rectangle(self.point, self.width, self.height, self.border_color, fill=False, border_thickness=4)
    draw_text(self.text, (self.point + (Point(self.width, self.height) / 2)), self.text_color)
def draw(self):
    if self.hide:
        return
    background = self.background_color
    if (self.do_highlight and self.is_point_inside(MOUSE_POSITION)):
        background = self.highlight_color
    draw_rectangle(self.point, self.width, self.height, background)
    draw_rectangle(self.point, self.width, self.height, self.border_color, fill=False, border_thickness=4)
    draw_text(self.text, (self.point + (Point(self.width, self.height) / 2)), self.text_color)