Adds mobjects to the foreground, and internally to the list foreground_mobjects, and mobjects. Parameters ---------- *mobjects The Mobjects to add to the foreground. Returns ------ Scene The Scene, with the fo
(self, *mobjects: Mobject)
| 759 | |
| 760 | # TODO, remove this, and calls to this |
| 761 | def add_foreground_mobjects(self, *mobjects: Mobject) -> Scene: |
| 762 | """ |
| 763 | Adds mobjects to the foreground, and internally to the list |
| 764 | foreground_mobjects, and mobjects. |
| 765 | |
| 766 | Parameters |
| 767 | ---------- |
| 768 | *mobjects |
| 769 | The Mobjects to add to the foreground. |
| 770 | |
| 771 | Returns |
| 772 | ------ |
| 773 | Scene |
| 774 | The Scene, with the foreground mobjects added. |
| 775 | """ |
| 776 | self.foreground_mobjects = list_update(self.foreground_mobjects, mobjects) |
| 777 | self.add(*mobjects) |
| 778 | return self |
| 779 | |
| 780 | def add_foreground_mobject(self, mobject: Mobject) -> Scene: |
| 781 | """ |
no test coverage detected