Files
ManimML/tests/test_surrounding_rectangle.py
2023-01-01 23:24:59 -05:00

11 lines
322 B
Python

from manim import *
class SurroundingRectangleTest(Scene):
def construct(self):
rectangle = Rectangle(width=1, height=1, color=WHITE, fill_opacity=1.0)
self.add(rectangle)
surrounding_rectangle = SurroundingRectangle(rectangle, color=GREEN, buff=0.0)
self.add(surrounding_rectangle)