def avgColor(self): if self._avgColor is None: self._avgColor = pygame.transform.average_color(self._srf.original) return self._avgColor