manim.mobject.frame.ScreenRectangle

class ScreenRectangle(aspect_ratio=1.7777777777777777, height=4, **kwargs)[source]

Bases: manim.mobject.geometry.Rectangle

Methods

Attributes

animate

Used to animate the application of a method.

aspect_ratio

The aspect ratio.

depth

The depth of the mobject.

height

The height of the mobject.

width

The width of the mobject.

property aspect_ratio

The aspect ratio.

When set, the width is stretched to accommodate the new aspect ratio.