##############################################################################
# Python From Scratch
# Autor: Nilo Ney Coutinho Menezes
# Editora Novatec (c) 2010-2024
# Site: https://pythonfromscratch.com
#
# File: listing\chapter 13\13.1588 - No Title.py
# Description: No Title
##############################################################################
type = self.canvas.type(self.curr_id)
if type in ["rectangle", "oval"]:
self.canvas.itemconfig(self.curr_id, {"outline": self.foreground_color, "fill": self.background_color})