ScreenRectangle#

Qualified name: manim.mobject.frame.ScreenRectangle

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

Bases: Rectangle

Methods

Attributes

animate

Used to animate the application of any method of self.

animation_overrides

aspect_ratio

The aspect ratio.

color

depth

The depth of the mobject.

fill_color

If there are multiple colors (for gradient) this returns the first one

height

The height of the mobject.

sheen_factor

stroke_color

width

The width of the mobject.

property aspect_ratio#

The aspect ratio.

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